# HG changeset patch # User Glenn Morris # Date 1205462081 0 # Node ID a95e4488a3fe62cdd9a0b9f0d6d5bc94b93624da # Parent fcf8c2e3b6ef82809a9624a25d011cf1b1ecf04e (declare-function): Add compatibility stub. (org-publish-delete-dups): Declare as function. diff -r fcf8c2e3b6ef -r a95e4488a3fe lisp/textmodes/org-publish.el --- a/lisp/textmodes/org-publish.el Fri Mar 14 02:33:19 2008 +0000 +++ b/lisp/textmodes/org-publish.el Fri Mar 14 02:34:41 2008 +0000 @@ -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 @@ (setq tail (cdr tail)))) list)) +(declare-function org-publish-delete-dups "org-publish" (list)) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Getting project information out of org-publish-project-alist