diff options
author | Glenn Morris <[email protected]> | 2010-11-10 20:07:40 -0800 |
---|---|---|
committer | Glenn Morris <[email protected]> | 2010-11-10 20:07:40 -0800 |
commit | 8d60680b40030fdd81c3636ed4addf47661797d8 (patch) | |
tree | 2795e0aab2822cdd19554e030bd5ea3d0b4c8ece /lisp | |
parent | 0b58f78eed9d2d0270863341890ce44be66d2f0d (diff) |
* lisp/gnus/smime.el (from): Restrict declaration to XEmacs.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/gnus/ChangeLog | 2 | ||||
-rw-r--r-- | lisp/gnus/smime.el | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 3a6306e858..2121671c01 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,5 +1,7 @@ 2010-11-11 Glenn Morris <[email protected]> + * smime.el (from): Restrict declaration to XEmacs. + * nnir.el (gnus-group-topic-name): Autoload. 2010-11-11 Katsumi Yamaoka <[email protected]> diff --git a/lisp/gnus/smime.el b/lisp/gnus/smime.el index 3045e76cee..b8ee4c1992 100644 --- a/lisp/gnus/smime.el +++ b/lisp/gnus/smime.el @@ -426,7 +426,9 @@ Any details (stdout and stderr) are left in the buffer specified by (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. |