mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix some more Org `check-declare' issues.
* ob.el: Require org when compiling. (org-save-outline-visibility): Remove macro declaration. * ob-emacs-lisp.el: Require ob-comint when compiling, for macros. Remove unnecessary/macro declarations. * org-docview.el: Require doc-view when compiling. (doc-view-goto-page): Autoload rather than declaring. (doc-view-current-page): Remove macro declaration.
This commit is contained in:
parent
cd24d7a9eb
commit
eeb4145e4c
4 changed files with 17 additions and 9 deletions
|
|
@ -45,9 +45,9 @@
|
|||
|
||||
|
||||
(require 'org)
|
||||
(eval-when-compile (require 'doc-view)) ; doc-view-current-page macro
|
||||
|
||||
(declare-function doc-view-goto-page "doc-view" (page))
|
||||
(declare-function doc-view-current-page "doc-view" (&optional win))
|
||||
(autoload 'doc-view-goto-page "doc-view")
|
||||
|
||||
(org-add-link-type "docview" 'org-docview-open)
|
||||
(add-hook 'org-store-link-functions 'org-docview-store-link)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue