[gnus git] branch master updated: n0-17-493-g3313cd8 =1= Make fontification of org modes work again
Lars Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 3313cd8482c0ac34077ae1ca4721bb6af8b0e0b6 (commit)
from 0ecef6b19247b6b55014a8fd84030d75236252d8 (commit)
- Log -----------------------------------------------------------------
commit 3313cd8482c0ac34077ae1ca4721bb6af8b0e0b6
Author: Lars Ingebrigtsen <[email protected]>
Date: Sat Jan 28 20:33:23 2012 +0100
Make fontification of org modes work again
* 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/ChangeLog b/lisp/ChangeLog
index 04bd1e1..026bb5e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2012-01-28 Lars Ingebrigtsen <[email protected]>
+
+ * 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 <[email protected]> (tiny change)
* shr.el (shr-browse-url): Fix the name of the `browse-url-mail'
diff --git a/lisp/mm-view.el b/lisp/mm-view.el
index 18ee3b5..1d7b174 100644
--- a/lisp/mm-view.el
+++ b/lisp/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
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 6 ++++++
lisp/mm-view.el | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project