need to require find-func instead of just declare-function

* lisp/org.el: require find-func and remove declare-function for
       find-library-name, otherwise autoloaded org-version doesn't
       show all info correctly.
This commit is contained in:
Achim Gratz 2012-03-21 09:25:46 +01:00
parent 97e7636b68
commit 1751d2d7f9
1 changed files with 1 additions and 1 deletions

View File

@ -75,6 +75,7 @@
(require 'gnus-sum))
(require 'calendar)
(require 'find-func)
(require 'format-spec)
;; Emacs 22 calendar compatibility: Make sure the new variables are available
@ -111,7 +112,6 @@
(declare-function org-at-clock-log-p "org-clock" ())
(declare-function org-clock-timestamps-up "org-clock" ())
(declare-function org-clock-timestamps-down "org-clock" ())
(declare-function find-library-name "find-func")
;; babel
(require 'ob)