diff options
author | Kyle Meyer <kyle@kyleam.com> | 2020-04-09 22:26:58 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-04-09 22:27:06 -0400 |
commit | 6f1b83749228d153cd8e8d14433ba6fffb7c9b3a (patch) | |
tree | 8ec570c72eafc6473b97be5d113ac5ec8ee46a84 | |
parent | 44ec473c199262d89b372d8a6cd35bed7672164d (diff) | |
download | org-mode-6f1b83749228d153cd8e8d14433ba6fffb7c9b3a.tar.gz |
Silence byte-compiler
These both show up when compiling files separately (e.g., 'make
single').
ob-core already assumes ob-tangle is loaded based on declared
functions, presumably because ob.el is given responsibility for
collectively loading these pieces. org.el loads org-attach within the
body of a function before calling org-attach-dir.
-rw-r--r-- | lisp/ob-core.el | 1 | ||||
-rw-r--r-- | lisp/org.el | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 4689a47..c13b073 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -38,6 +38,7 @@ (defvar org-link-file-path-type) (defvar org-src-lang-modes) (defvar org-src-preserve-indentation) +(defvar org-babel-tangle-uncomment-comments) (declare-function org-at-item-p "org-list" ()) (declare-function org-at-table-p "org" (&optional table-type)) diff --git a/lisp/org.el b/lisp/org.el index e6b65d5..0b67130 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -122,6 +122,8 @@ Stars are put in group 1 and the trimmed body in group 2.") (declare-function org-archive-subtree-default "org-archive" ()) (declare-function org-archive-to-archive-sibling "org-archive" ()) (declare-function org-attach "org-attach" ()) +(declare-function org-attach-dir "org-attach" + (&optional create-if-not-exists-p no-fs-check)) (declare-function org-babel-do-in-edit-buffer "ob-core" (&rest body) t) (declare-function org-babel-tangle-file "ob-tangle" (file &optional target-file lang)) (declare-function org-beamer-mode "ox-beamer" (&optional prefix) t) |