diff options
| author | Katsumi Yamaoka | 2011-09-21 02:13:03 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-09-21 02:13:03 +0000 |
| commit | 44cb0cc9672c2e6168ef3ba06496f9e3c478d716 (patch) | |
| tree | 8e61c406b3187505f9a4ddcf50b773c546f861f4 /lisp | |
| parent | 4d3786ace1bc396d016684f799e5ae844a17b886 (diff) | |
| download | emacs-44cb0cc9672c2e6168ef3ba06496f9e3c478d716.tar.gz emacs-44cb0cc9672c2e6168ef3ba06496f9e3c478d716.zip | |
mm-view.el (mm-display-inline-fontify): Don't run doc-view-mode because it displays images using overlays that aren't easy to copy to the article buffer.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/mm-view.el | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 9d22d52e579..f3a6024069e 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-09-21 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * mm-view.el (mm-display-inline-fontify): Don't run doc-view-mode | ||
| 4 | because it displays images using overlays that aren't easy to copy to | ||
| 5 | the article buffer. | ||
| 6 | |||
| 1 | 2011-09-20 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change) | 7 | 2011-09-20 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change) |
| 2 | 8 | ||
| 3 | * message.el (message-indent-citation): Fix empty line removal at the | 9 | * message.el (message-indent-citation): Fix empty line removal at the |
diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el index 926422865c7..6358e34176f 100644 --- a/lisp/gnus/mm-view.el +++ b/lisp/gnus/mm-view.el | |||
| @@ -607,7 +607,10 @@ If MODE is not set, try to find mode automatically." | |||
| 607 | (set (make-local-variable 'enable-local-variables) nil) | 607 | (set (make-local-variable 'enable-local-variables) nil) |
| 608 | (if mode | 608 | (if mode |
| 609 | (funcall mode) | 609 | (funcall mode) |
| 610 | (set-auto-mode)) | 610 | (let ((auto-mode-alist |
| 611 | (delq (rassq 'doc-view-mode-maybe auto-mode-alist) | ||
| 612 | (copy-sequence auto-mode-alist)))) | ||
| 613 | (set-auto-mode))) | ||
| 611 | ;; The mode function might have already turned on font-lock. | 614 | ;; The mode function might have already turned on font-lock. |
| 612 | ;; Do not fontify if the guess mode is fundamental. | 615 | ;; Do not fontify if the guess mode is fundamental. |
| 613 | (unless (or (symbol-value 'font-lock-mode) | 616 | (unless (or (symbol-value 'font-lock-mode) |