[gnus git] branch master updated: n0-17-312-gecc30b2 =1= 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.

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  ecc30b232e39a91953ab90fdff842645a264cdc0 (commit)
      from  1b53ab636f0852054bc27624f086bb524f71667f (commit)


- Log -----------------------------------------------------------------
commit ecc30b232e39a91953ab90fdff842645a264cdc0
Author: Katsumi Yamaoka <[email protected]>
Date:   Wed Sep 21 02:12:37 2011 +0000

    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.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index edaced7..cbbe2f3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2011-09-21  Katsumi Yamaoka  <[email protected]>
+
+	* 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  <[email protected]>  (tiny change)
 
 	* message.el (message-indent-citation): Fix empty line removal at the
diff --git a/lisp/mm-view.el b/lisp/mm-view.el
index 9264228..6358e34 100644
--- a/lisp/mm-view.el
+++ b/lisp/mm-view.el
@@ -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)

-----------------------------------------------------------------------
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  |    6 ++++++
 lisp/mm-view.el |    5 ++++-
 2 files changed, 10 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.