1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(declare-function): Add compatibility declaration.

(gnus-summary-from-or-to-or-newsgroups): Declare as function.
This commit is contained in:
Glenn Morris 2007-12-09 02:05:41 +00:00
parent 9640c3bce0
commit 2d1974c9e4

View file

@ -27,6 +27,9 @@
;;; Code:
;; For Emacs < 22.2.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
(eval-when-compile (require 'cl))
(defvar gnus-newsrc-file-version)
@ -87,6 +90,9 @@ text properties. This is only needed on XEmacs, as FSF Emacs does this anyway."
(defvar gnus-tmp-header)
(defvar gnus-tmp-from)
(declare-function gnus-summary-from-or-to-or-newsgroups "gnus-sum"
(header gnus-tmp-from))
(defun gnus-summary-line-format-spec ()
(insert gnus-tmp-unread gnus-tmp-replied
gnus-tmp-score-char gnus-tmp-indentation)