diff options
author | Glenn Morris <rgm@gnu.org> | 2010-08-17 19:44:25 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2010-08-17 19:44:25 -0700 |
commit | eeb4145e4c212f0323a0b39c34ae6695cae6ff1b (patch) | |
tree | 4033ef267864ab1ab25ab9ce315d8976b321707c /lisp/org/ob.el | |
parent | cd24d7a9eb69b593552cca5663d079e3565f284b (diff) | |
download | emacs-eeb4145e4c212f0323a0b39c34ae6695cae6ff1b.tar.gz emacs-eeb4145e4c212f0323a0b39c34ae6695cae6ff1b.tar.bz2 emacs-eeb4145e4c212f0323a0b39c34ae6695cae6ff1b.zip |
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.
Diffstat (limited to 'lisp/org/ob.el')
-rw-r--r-- | lisp/org/ob.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/org/ob.el b/lisp/org/ob.el index 4aee07f26ab..4ae3e4f662c 100644 --- a/lisp/org/ob.el +++ b/lisp/org/ob.el @@ -29,7 +29,9 @@ ;; http://orgmode.org/worg/org-contrib/babel/ ;;; Code: -(eval-when-compile (require 'cl)) +(eval-when-compile + (require 'cl) + (require 'org)) ; org-save-outline-visibility macro (require 'org-macs) (defvar org-babel-call-process-region-original) @@ -40,10 +42,9 @@ (declare-function tramp-file-name-user "tramp" (vec)) (declare-function tramp-file-name-host "tramp" (vec)) (declare-function org-icompleting-read "org" (&rest args)) -(declare-function org-edit-src-code "org-src" +(declare-function org-edit-src-code "org-src" (&optional context code edit-buffer-name)) (declare-function org-open-at-point "org" (&optional in-emacs reference-buffer)) -(declare-function org-save-outline-visibility "org" (use-markers &rest body)) (declare-function org-narrow-to-subtree "org" ()) (declare-function org-entry-get "org" (pom property &optional inherit literal-nil)) (declare-function org-make-options-regexp "org" (kwds &optional extra)) |