[gnus git] branch master updated: =1= mm-decode: stop checking for diff-mode
Julien Danjou <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 05dbdb660ffa497f5fce23f35c8e45d7a0843d39 (commit)
from e732e1f325f1252e50501024bcafdc6a1867aeeb (commit)
- Log -----------------------------------------------------------------
commit 05dbdb660ffa497f5fce23f35c8e45d7a0843d39
Author: Julien Danjou <[email protected]>
Date: Tue Feb 1 17:06:45 2011 +0100
mm-decode: stop checking for diff-mode
Signed-off-by: Julien Danjou <[email protected]>
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 10c658e..d626e8f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2011-02-01 Julien Danjou <[email protected]>
+ * mm-decode.el (mm-inline-media-tests): Do not check for diff-mode it's
+ standard in Emacs nowadays.
+
* color.el (color-gradient): Add a color-gradient function.
2011-02-01 Lars Ingebrigtsen <[email protected]>
diff --git a/lisp/mm-decode.el b/lisp/mm-decode.el
index d7bc882..3909e12 100644
--- a/lisp/mm-decode.el
+++ b/lisp/mm-decode.el
@@ -223,17 +223,9 @@ before the external MIME handler is invoked."
("text/plain" mm-inline-text identity)
("text/enriched" mm-inline-text identity)
("text/richtext" mm-inline-text identity)
- ("text/x-patch" mm-display-patch-inline
- (lambda (handle)
- ;; If the diff-mode.el package is installed, the function is
- ;; autoloaded. Checking (locate-library "diff-mode") would be trying
- ;; to cater to broken installations. OTOH checking the function
- ;; makes it possible to install another package which provides an
- ;; alternative implementation of diff-mode. --Stef
- (fboundp 'diff-mode)))
+ ("text/x-patch" mm-display-patch-inline identity)
;; In case mime.types uses x-diff (as does Debian's mime-support-3.40).
- ("text/x-diff" mm-display-patch-inline
- (lambda (handle) (fboundp 'diff-mode)))
+ ("text/x-diff" mm-display-patch-inline identity)
("application/emacs-lisp" mm-display-elisp-inline identity)
("application/x-emacs-lisp" mm-display-elisp-inline identity)
("application/x-shellscript" mm-display-shell-script-inline identity)
-----------------------------------------------------------------------
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 | 3 +++
lisp/mm-decode.el | 12 ++----------
2 files changed, 5 insertions(+), 10 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