Do not overwrite preexisting contents of unread-command-events
[gnus] / lisp / dgnushack.el
index 99b4f5b..59a234c 100644 (file)
 
 (defvar dgnushack-default-load-path (copy-sequence load-path))
 
-(unless (fboundp 'declare-function)
-  (defmacro declare-function (&rest r)))
+(when (featurep 'xemacs)
+  (defmacro declare-function (fn file &optional arglist fileonly)
+    (unless (fboundp fn) (autoload fn file))
+    nil))
 
 (defalias 'facep 'ignore)