>>>>> "Jack" == Jack Vinson <[EMAIL PROTECTED]> writes:

    Jack> That patch I sent only works if font-lock is a current feature.
    Jack> I just realized this on starting a new emacs.  There must be a
    Jack> better way to clear a buffer/region of all non-default face
    Jack> information.

Hmmm,
Since we are talking about  emacs-19.29's   mail-extr.el,
we should porpose a fix that will make it into Emacs  19.30
 (or at least 31).
Maybe report the problem (in an 'bbdb-free' form)
to
        gnu.emacs.bugs ?

-----
Anyway, the above problem can easily be solved:
Here is my current patch (against  Emacs 19.29  mail-extr.el):

--- mail-extr.el~       Mon May 29 09:06:56 1995
+++ mail-extr.el        Thu Jul 20 15:23:41 1995
@@ -760,6 +760,9 @@
             (insert-buffer-substring address))
            (t
             (error "Illegal address: %s" address)))
+      ;;Turn off font-lock in this buffer: Jack Vinson 20 July 1995
+      (if font-lock-mode
+         (font-lock-unfontify-region (point-min) (point-max)))
       
       ;; stolen from rfc822.el
       ;; Unfold multiple lines.


-- 
Martin Maechler <[EMAIL PROTECTED]>             <><     _
Seminar fuer Statistik, SOL F5                                 _| |_
ETH (Federal Inst. Technology)  8092 Zurich      SWITZERLAND  |_   _|
phone: x-41-1-632-3408          fax: ...-1086                   |_|
http://www.stat.math.ethz.ch/~maechler/

Reply via email to