]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix org.el byte-compile warning in org-loaddefs.el
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 31 Jul 2022 09:43:48 +0000 (11:43 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 31 Jul 2022 09:43:48 +0000 (11:43 +0200)
* lisp/org/org.el (org-dynamic-block-define): Autoload because
it's referred to in org-loaddefs.el.

lisp/org/org.el

index 7ab1801cfaa07f11c8243ea7792b2bf0924f7d10..e62ee3203b458965aaa10017023d8bc3d437f312 100644 (file)
@@ -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