Mercurial > emacs
changeset 111492:63de56d17492
* lisp/gnus/smime.el (from): Restrict declaration to XEmacs.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 10 Nov 2010 20:07:40 -0800 |
parents | ea2c0f22a4ad |
children | 751b60021ab0 |
files | lisp/gnus/ChangeLog lisp/gnus/smime.el |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog Wed Nov 10 20:05:15 2010 -0800 +++ b/lisp/gnus/ChangeLog Wed Nov 10 20:07:40 2010 -0800 @@ -1,5 +1,7 @@ 2010-11-11 Glenn Morris <rgm@gnu.org> + * smime.el (from): Restrict declaration to XEmacs. + * nnir.el (gnus-group-topic-name): Autoload. 2010-11-11 Katsumi Yamaoka <yamaoka@jpl.org>
--- a/lisp/gnus/smime.el Wed Nov 10 20:05:15 2010 -0800 +++ b/lisp/gnus/smime.el Wed Nov 10 20:07:40 2010 -0800 @@ -426,7 +426,9 @@ (insert-buffer-substring smime-details-buffer) nil)) -(defvar from) ;; Necessary for XEmacs to silence the byte compiler. +;; TODO: fix this properly by giving it a prefix. +(if (featurep 'xemacs) + (defvar from)) (defun smime-decrypt-region (b e keyfile) "Decrypt S/MIME message in region between B and E with key in KEYFILE.