[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dynamic blocks orgmode manpage
From: |
Ihor Radchenko |
Subject: |
Re: dynamic blocks orgmode manpage |
Date: |
Mon, 19 Feb 2024 10:22:49 +0000 |
chris <inkbottle007@gmail.com> writes:
> Now, after running =C-c C-c= on the line below, trying =M-x org-dynamic-block-
> insert-dblock= will result in the error: =funcall-interactively: Wrong type
> argument: commandp, org-dblock-write:block-update-time=.
>
> #+begin_src emacs-lisp
> (org-dynamic-block-define "block update time" #'org-dblock-write:block-
> update-time)
> #+end_src
Fixed, on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d6c3ab08b
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d5b98bcfb
Note that function provided in `org-dynamic-block-define' must accept
zero arguments. It is generally not the same function with
org-dblock-write:foo.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>