From: Lars Ingebrigtsen Date: Sun, 29 Jan 2012 00:28:05 +0000 (+0000) Subject: mm-view.el (mm-display-inline-fontify): Bind `font-lock-support-mode' instead of... X-Git-Tag: emacs-pretest-24.0.93~16 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=576950c66cf13943165ec610894ff6d394f29877;p=emacs.git 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). --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 10eac2e5eab..316e266c5e4 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,9 @@ +2012-01-28 Lars Ingebrigtsen + + * 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 (tiny change) * shr.el (shr-browse-url): Fix the name of the `browse-url-mail' diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el index 18ee3b5047f..1d7b174d5a4 100644 --- a/lisp/gnus/mm-view.el +++ b/lisp/gnus/mm-view.el @@ -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