diff options
| author | Katsumi Yamaoka | 2017-06-19 02:10:22 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2017-06-19 02:10:22 +0000 |
| commit | dbe3e416af5d845dc774341eb66971ab1a72983b (patch) | |
| tree | 6d909fa5045e30406ff3c9c3cb8527d3f6a94de1 | |
| parent | 1b75af59b305867c89271905be72a05d06a4eff4 (diff) | |
| download | emacs-dbe3e416af5d845dc774341eb66971ab1a72983b.tar.gz emacs-dbe3e416af5d845dc774341eb66971ab1a72983b.zip | |
Don't try to eval local variables in Gnus article
* lisp/gnus/mm-view.el (mm-display-inline-fontify): Disable local vars.
| -rw-r--r-- | lisp/gnus/mm-view.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el index dd64bfed60a..4276f9e9a43 100644 --- a/lisp/gnus/mm-view.el +++ b/lisp/gnus/mm-view.el | |||
| @@ -488,7 +488,8 @@ If MODE is not set, try to find mode automatically." | |||
| 488 | (funcall mode)) | 488 | (funcall mode)) |
| 489 | (let ((auto-mode-alist | 489 | (let ((auto-mode-alist |
| 490 | (delq (rassq 'doc-view-mode-maybe auto-mode-alist) | 490 | (delq (rassq 'doc-view-mode-maybe auto-mode-alist) |
| 491 | (copy-sequence auto-mode-alist)))) | 491 | (copy-sequence auto-mode-alist))) |
| 492 | (local-enable-local-variables nil)) | ||
| 492 | (set-auto-mode))) | 493 | (set-auto-mode))) |
| 493 | ;; The mode function might have already turned on font-lock. | 494 | ;; The mode function might have already turned on font-lock. |
| 494 | ;; Do not fontify if the guess mode is fundamental. | 495 | ;; Do not fontify if the guess mode is fundamental. |