summaryrefslogtreecommitdiff
path: root/lisp/org
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-07-31 11:43:48 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-07-31 11:43:48 +0200
commit2682ea1b3a9524eb54efac41b3221b514374c232 (patch)
treed8f5fcb8119cd6a694163f7d21a5899cab4788ff /lisp/org
parent18f105bd7d485a9ddffe2b2b9b8a5c2dc243a542 (diff)
downloademacs-2682ea1b3a9524eb54efac41b3221b514374c232.tar.gz
emacs-2682ea1b3a9524eb54efac41b3221b514374c232.tar.bz2
emacs-2682ea1b3a9524eb54efac41b3221b514374c232.zip
Fix org.el byte-compile warning in org-loaddefs.el
* lisp/org/org.el (org-dynamic-block-define): Autoload because it's referred to in org-loaddefs.el.
Diffstat (limited to 'lisp/org')
-rw-r--r--lisp/org/org.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org/org.el b/lisp/org/org.el
index 7ab1801cfaa..e62ee3203b4 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -9319,6 +9319,7 @@ TYPE is the dynamic block type, as a string."
"List all defined dynamic block types."
(mapcar #'car org-dynamic-block-alist))
+;;;###org-autoload
(defun org-dynamic-block-define (type func)
"Define dynamic block TYPE with FUNC.
TYPE is a string. FUNC is the function creating the dynamic