From: Glenn Morris Date: Thu, 11 Nov 2010 04:07:40 +0000 (-0800) Subject: * lisp/gnus/smime.el (from): Restrict declaration to XEmacs. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~291 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8d60680b40030fdd81c3636ed4addf47661797d8;p=emacs.git * lisp/gnus/smime.el (from): Restrict declaration to XEmacs. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 3a6306e858b..2121671c01f 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 3045e76ceed..b8ee4c19924 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.