diff options
author | Glenn Morris <rgm@gnu.org> | 2008-03-14 02:34:41 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2008-03-14 02:34:41 +0000 |
commit | 1e63a7fbf3f6e8ad15b10e8a3288cab9be9071d8 (patch) | |
tree | 7256bbff1ceb362834c8d66de1c76c36a3886cda /lisp/textmodes | |
parent | 6622c075aa2e362974f36e91f7e0891a0283e572 (diff) | |
download | emacs-1e63a7fbf3f6e8ad15b10e8a3288cab9be9071d8.tar.gz |
(declare-function): Add compatibility stub.
(org-publish-delete-dups): Declare as function.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r-- | lisp/textmodes/org-publish.el | 6 |
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 |