From 1e63a7fbf3f6e8ad15b10e8a3288cab9be9071d8 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 14 Mar 2008 02:34:41 +0000 Subject: [PATCH] (declare-function): Add compatibility stub. (org-publish-delete-dups): Declare as function. --- lisp/textmodes/org-publish.el | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.2