diff options
| -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. |