summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/org-publish.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/textmodes/org-publish.el b/lisp/textmodes/org-publish.el
index aa75a60d358..d881fd4a062 100644
--- a/lisp/textmodes/org-publish.el
+++ b/lisp/textmodes/org-publish.el
@@ -153,6 +153,10 @@
(eval-when-compile
(require 'cl))
+(eval-and-compile
+ (unless (fboundp 'declare-function)
+ (defmacro declare-function (fn file &optional arglist fileonly))))
+
(require 'dired-aux)
(defgroup org-publish nil
@@ -368,6 +372,8 @@ This is a compatibility function for Emacsen without `delete-dups'."
(setq tail (cdr tail))))
list))
+(declare-function org-publish-delete-dups "org-publish" (list))
+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Getting project information out of org-publish-project-alist