]> git.eshelyaron.com Git - emacs.git/commitdiff
(declare-function): Add compatibility declaration.
authorGlenn Morris <rgm@gnu.org>
Sun, 9 Dec 2007 02:10:05 +0000 (02:10 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 9 Dec 2007 02:10:05 +0000 (02:10 +0000)
(mail-abbrev-in-expansion-header-p): Declare as function.

lisp/gnus/message.el

index 3aaa8c25745fef4abfb23b32ef4f9acdaaf439b1..919a4c06721346b03af8eea837d5da555a4fa632 100644 (file)
 
 ;;; Code:
 
+(eval-and-compile
+  (unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
 (eval-when-compile
   (require 'cl))
-  
+
 (require 'hashcash)
 (require 'canlock)
 (require 'mailheader)
@@ -7474,6 +7476,8 @@ If nil, the function bound in `text-mode-map' or `global-map' is executed."
   :type '(choice (const nil)
                 function))
 
+(declare-function mail-abbrev-in-expansion-header-p "mailabbrev" ())
+
 (defun message-tab ()
   "Complete names according to `message-completion-alist'.
 Execute function specified by `message-tab-body-function' when not in