Add a docstring to `org-run-like-in-org-mode'
This commit is contained in:
parent
7455d5aaf8
commit
0a5c3f892d
|
@ -6460,6 +6460,10 @@ Possible values in the list of contexts are `table', `headline', and `item'."
|
|||
|
||||
;;;###autoload
|
||||
(defun org-run-like-in-org-mode (cmd)
|
||||
"Run a command, pretending that the current buffer is in Org-mode.
|
||||
This will temporarily bind local variables that are typically bound in
|
||||
Org-mode to the values they have in Org-mode, and then interactively
|
||||
call CMD."
|
||||
(org-load-modules-maybe)
|
||||
(unless org-local-vars
|
||||
(setq org-local-vars (org-get-local-variables)))
|
||||
|
|
Loading…
Reference in New Issue