Commit 44cb0cc9 authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

mm-view.el (mm-display-inline-fontify): Don't run doc-view-mode because it...

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.
parent 4d3786ac
2011-09-21 Katsumi Yamaoka <yamaoka@jpl.org>
* 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.
2011-09-20 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
 
* message.el (message-indent-citation): Fix empty line removal at the
......
......@@ -607,7 +607,10 @@ If MODE is not set, try to find mode automatically."
(set (make-local-variable 'enable-local-variables) nil)
(if mode
(funcall mode)
(set-auto-mode))
(let ((auto-mode-alist
(delq (rassq 'doc-view-mode-maybe auto-mode-alist)
(copy-sequence auto-mode-alist))))
(set-auto-mode)))
;; The mode function might have already turned on font-lock.
;; Do not fontify if the guess mode is fundamental.
(unless (or (symbol-value 'font-lock-mode)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment