smime.el (from): Restrict declaration to XEmacs.
authorGlenn Morris <rgm@gnu.org>
Thu, 11 Nov 2010 14:06:23 +0000 (14:06 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 11 Nov 2010 14:06:23 +0000 (14:06 +0000)
nnir.el (gnus-group-topic-name): Autoload.

lisp/ChangeLog
lisp/nnir.el
lisp/smime.el

index c796525..24a8941 100644 (file)
@@ -1,3 +1,9 @@
+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>
 
        * shr.el (shr-insert): Don't break long line if it is because of
index 30ffea9..3745677 100644 (file)
@@ -1371,6 +1371,8 @@ Tested with Namazu 2.0.6 on a GNU/Linux system."
          (cons sym (format (cdr mapping) result)))
       (cons sym (read-string prompt)))))
 
+(autoload 'gnus-group-topic-name "gnus-topic")
+
 (defun nnir-run-query (query nserver)
   "Invoke appropriate search engine function (see `nnir-engines').
   If some groups were process-marked, run the query for each of the groups
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.