changeset 92886:a95e4488a3fe

(declare-function): Add compatibility stub. (org-publish-delete-dups): Declare as function.
author Glenn Morris <rgm@gnu.org>
date Fri, 14 Mar 2008 02:34:41 +0000
parents fcf8c2e3b6ef
children a8351fbe7e61
files lisp/textmodes/org-publish.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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