diff lisp/net/imap.el @ 87186:b37f01064ecf

* mail/hashcash.el (declare-function): * net/imap.el (declare-function): New no-op macro for backward compatibility.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 08 Dec 2007 22:56:04 +0000
parents 781256628613
children bc4976b7380e
line wrap: on
line diff
--- a/lisp/net/imap.el	Sat Dec 08 22:27:34 2007 +0000
+++ b/lisp/net/imap.el	Sat Dec 08 22:56:04 2007 +0000
@@ -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")