diff options
| author | Glenn Morris | 2008-03-14 02:34:41 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-03-14 02:34:41 +0000 |
| commit | 1e63a7fbf3f6e8ad15b10e8a3288cab9be9071d8 (patch) | |
| tree | 7256bbff1ceb362834c8d66de1c76c36a3886cda | |
| parent | 6622c075aa2e362974f36e91f7e0891a0283e572 (diff) | |
| download | emacs-1e63a7fbf3f6e8ad15b10e8a3288cab9be9071d8.tar.gz emacs-1e63a7fbf3f6e8ad15b10e8a3288cab9be9071d8.zip | |
(declare-function): Add compatibility stub.
(org-publish-delete-dups): Declare as function.
| -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 @@ | |||
| 153 | (eval-when-compile | 153 | (eval-when-compile |
| 154 | (require 'cl)) | 154 | (require 'cl)) |
| 155 | 155 | ||
| 156 | (eval-and-compile | ||
| 157 | (unless (fboundp 'declare-function) | ||
| 158 | (defmacro declare-function (fn file &optional arglist fileonly)))) | ||
| 159 | |||
| 156 | (require 'dired-aux) | 160 | (require 'dired-aux) |
| 157 | 161 | ||
| 158 | (defgroup org-publish nil | 162 | (defgroup org-publish nil |
| @@ -368,6 +372,8 @@ This is a compatibility function for Emacsen without `delete-dups'." | |||
| 368 | (setq tail (cdr tail)))) | 372 | (setq tail (cdr tail)))) |
| 369 | list)) | 373 | list)) |
| 370 | 374 | ||
| 375 | (declare-function org-publish-delete-dups "org-publish" (list)) | ||
| 376 | |||
| 371 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 377 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 372 | ;;; Getting project information out of org-publish-project-alist | 378 | ;;; Getting project information out of org-publish-project-alist |
| 373 | 379 | ||