* lisp/gnus/smime.el (from): Restrict declaration to XEmacs.
authorGlenn Morris <rgm@gnu.org>
Thu, 11 Nov 2010 04:07:40 +0000 (20:07 -0800)
committerGlenn Morris <rgm@gnu.org>
Thu, 11 Nov 2010 04:07:40 +0000 (20:07 -0800)
lisp/gnus/ChangeLog
lisp/gnus/smime.el

index 3a6306e..2121671 100644 (file)
@@ -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>
index 3045e76..b8ee4c1 100644 (file)
@@ -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.