emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106985: mm-view.el (mm-display-inlin


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106985: 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).
Date: Sun, 29 Jan 2012 00:28:05 +0000
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106985
author: Lars Ingebrigtsen <address@hidden>
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Sun 2012-01-29 00:28:05 +0000
message:
  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).
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/mm-view.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2012-01-28 02:28:36 +0000
+++ b/lisp/gnus/ChangeLog       2012-01-29 00:28:05 +0000
@@ -1,3 +1,9 @@
+2012-01-28  Lars Ingebrigtsen  <address@hidden>
+
+       * 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  <address@hidden>  (tiny change)
 
        * shr.el (shr-browse-url): Fix the name of the `browse-url-mail'

=== modified file 'lisp/gnus/mm-view.el'
--- a/lisp/gnus/mm-view.el      2012-01-19 07:21:25 +0000
+++ b/lisp/gnus/mm-view.el      2012-01-29 00:28:05 +0000
@@ -600,11 +600,11 @@
                     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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]