From 8d60680b40030fdd81c3636ed4addf47661797d8 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 10 Nov 2010 20:07:40 -0800 Subject: [PATCH 1/1] * lisp/gnus/smime.el (from): Restrict declaration to XEmacs. --- lisp/gnus/ChangeLog | 2 ++ lisp/gnus/smime.el | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + * smime.el (from): Restrict declaration to XEmacs. + * nnir.el (gnus-group-topic-name): Autoload. 2010-11-11 Katsumi Yamaoka 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. -- 2.20.1