* lisp/gnus/nnir.el (declare-function): Add compat stub.
(mm-url-insert, mm-url-encode-www-form-urlencoded): Declare.
(nnir-run-gmane): Require 'mm-url.
2010-11-01 Glenn Morris <rgm@gnu.org>
+ * nnir.el (declare-function): Add compat stub.
+ (mm-url-insert, mm-url-encode-www-form-urlencoded): Declare.
+ (nnir-run-gmane): Require 'mm-url.
+
* mm-util.el (mm-string-to-multibyte): Simplify.
* shr.el (declare-function): Add compat stub.
;;; Setup Code:
+;; For Emacs <22.2 and XEmacs.
+(eval-and-compile
+ (unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
+
(require 'nnoo)
(require 'gnus-group)
(require 'gnus-sum)
artlist)))
grouplist))))
+(declare-function mm-url-insert "mm-url" (url &optional follow-refresh))
+(declare-function mm-url-encode-www-form-urlencoded "mm-url" (pairs))
+
;; gmane interface
(defun nnir-run-gmane (query srv &optional groups)
"Run a search against a gmane back-end server."
(search (format "%s %s %s"
qstring groupspec authorspec))
artlist)
+ (require 'mm-url)
(with-current-buffer nntp-server-buffer
(erase-buffer)
(mm-url-insert