[gnus git] branch master updated: m0-5-224-g884074c =1= * mml2015.el (mml2015-epg-key-image): protect call to set-buffer-multibyte for XEmacs compability.

Adam Sj??gren <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  884074c7668f43d54e38280d10b985d620ffa977 (commit)
      from  b81c177679c7638b6fe49763a7f9c8865da2671c (commit)


- Log -----------------------------------------------------------------
commit 884074c7668f43d54e38280d10b985d620ffa977
Author: Adam Sjøgren <[email protected]>
Date:   Wed Dec 26 17:22:12 2012 +0100

    * mml2015.el (mml2015-epg-key-image): protect call to
    set-buffer-multibyte for XEmacs compability.

diff --git a/lisp/mml2015.el b/lisp/mml2015.el
index 5d97603..e9c52b5 100644
--- a/lisp/mml2015.el
+++ b/lisp/mml2015.el
@@ -823,7 +823,8 @@ If set, it overrides the setting of `mml2015-sign-with-sender'."
 (defun mml2015-epg-key-image (key-id)
   "Return the image of a key, if any"
   (with-temp-buffer
-    (set-buffer-multibyte nil)
+    (when (fboundp 'set-buffer-multibyte)
+      (set-buffer-multibyte nil))
     (let* ((coding-system-for-write 'binary)
            (coding-system-for-read 'binary)
            (data (shell-command-to-string

-----------------------------------------------------------------------
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/mml2015.el |    3 ++-
 1 files changed, 2 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.