aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu <[email protected]>2007-12-08 22:56:04 +0000
committerDan Nicolaescu <[email protected]>2007-12-08 22:56:04 +0000
commitc486a8e4ff23168c0a45466f72ffe4efb6a8dfc9 (patch)
tree1a34a44fa9579b1f10dc6991a897cf7935746103
parent4f85908cfe4632dbd5f9d9f4412ccdfb74eafbf2 (diff)
* mail/hashcash.el (declare-function):
* net/imap.el (declare-function): New no-op macro for backward compatibility.
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/mail/hashcash.el3
-rw-r--r--lisp/net/imap.el1
3 files changed, 11 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 638fdbae06..ec7ce254da 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,7 +1,13 @@
+2007-12-08 Dan Nicolaescu <[email protected]>
+
+ * mail/hashcash.el (declare-function):
+ * net/imap.el (declare-function): New no-op macro for backward
+ compatibility.
+
2007-12-08 Eli Zaretskii <[email protected]>
Sync makefile.w32-in with Makefile.in.
-
+
* makefile.w32-in (check-declare): New target.
(BYTE_COMPILE_EXTRA_FLAGS): New variable.
(.el.elc, compile-CMD, compile-SH, compile-always-CMD)
diff --git a/lisp/mail/hashcash.el b/lisp/mail/hashcash.el
index 22005ce957..1f4483a7c9 100644
--- a/lisp/mail/hashcash.el
+++ b/lisp/mail/hashcash.el
@@ -49,6 +49,9 @@
;;; Code:
+(eval-and-compile
+ (unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
+
(defgroup hashcash nil
"Hashcash configuration."
:group 'mail)
diff --git a/lisp/net/imap.el b/lisp/net/imap.el
index 8e41c68720..85af73972f 100644
--- a/lisp/net/imap.el
+++ b/lisp/net/imap.el
@@ -140,6 +140,7 @@
(eval-when-compile (require 'cl))
(eval-and-compile
+ (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))
(autoload 'starttls-open-stream "starttls")
(autoload 'starttls-negotiate "starttls")
(autoload 'sasl-find-mechanism "sasl")