]> code.delx.au - gnu-emacs/commitdiff
mm-view.el (mm-display-inline-fontify): Bind `font-lock-support-mode' instead of...
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 29 Jan 2012 00:28:05 +0000 (00:28 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Sun, 29 Jan 2012 00:28:05 +0000 (00:28 +0000)
lisp/gnus/ChangeLog
lisp/gnus/mm-view.el

index 10eac2e5eabce2751021ac3ad82aacfd41582e24..316e266c5e4ec93363d5bdf0afd0d7019a41b598 100644 (file)
@@ -1,3 +1,9 @@
+2012-01-28  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * mm-view.el (mm-display-inline-fontify): Bind `font-lock-support-mode'
+       instead of setting it locally, since the latter doesn't seem to have
+       any effect (most of the time).
+
 2012-01-27  Elias Pipping  <pipping@lavabit.com>  (tiny change)
 
        * shr.el (shr-browse-url): Fix the name of the `browse-url-mail'
index 18ee3b5047f5c3502b4c57aae4cc46d64b301388..1d7b174d5a464311d09b42aad50506f6d8f84668 100644 (file)
@@ -600,11 +600,11 @@ If MODE is not set, try to find mode automatically."
                     text)))
       (require 'font-lock)
       ;; I find font-lock a bit too verbose.
-      (let ((font-lock-verbose nil))
+      (let ((font-lock-verbose nil)
+           (font-lock-support-mode nil))
        ;; Disable support modes, e.g., jit-lock, lazy-lock, etc.
        ;; Note: XEmacs people use `font-lock-mode-hook' to run those modes.
        (set (make-local-variable 'font-lock-mode-hook) nil)
-       (set (make-local-variable 'font-lock-support-mode) nil)
         (setq buffer-file-name (mm-handle-filename handle))
         (set (make-local-variable 'enable-local-variables) nil)
        (with-demoted-errors