[gnus git] branch master updated: n0-15-12-gd3501cd =1= mm-view: use set-normal-mode
Julien Danjou <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via d3501cd48b4be3ca6bf1f322b6cd5754747faab5 (commit)
from 881890b1a32566ae07b939072b430cbefc95d033 (commit)
- Log -----------------------------------------------------------------
commit d3501cd48b4be3ca6bf1f322b6cd5754747faab5
Author: Julien Danjou <[email protected]>
Date: Tue Mar 29 11:00:00 2011 +0200
mm-view: use set-normal-mode
Signed-off-by: Julien Danjou <[email protected]>
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 116a3d0..82db122 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-29 Julien Danjou <[email protected]>
+
+ * mm-view.el (mm-display-inline-fontify): Use `set-normal-mode' with
+ local variables disabled rather than `normal-mode'.
+
2011-03-28 Brian T. Sniffen <[email protected]> (tiny change)
* imap.el (imap-shell-open, imap-process-connection-type): Use
diff --git a/lisp/mm-view.el b/lisp/mm-view.el
index 39d49af..abd78b8 100644
--- a/lisp/mm-view.el
+++ b/lisp/mm-view.el
@@ -603,9 +603,10 @@ If MODE is not set, try to find mode automatically."
;; I find font-lock a bit too verbose.
(font-lock-verbose nil))
(setq buffer-file-name (mm-handle-filename handle))
+ (set (make-local-variable 'enable-local-variables) nil)
(if mode
(funcall mode)
- (normal-mode))
+ (set-auto-mode))
;; The mode function might have already turned on font-lock.
(unless (symbol-value 'font-lock-mode)
(font-lock-fontify-buffer)))
-----------------------------------------------------------------------
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 | 5 +++++
lisp/mm-view.el | 3 ++-
2 files changed, 7 insertions(+), 1 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