From 0a5c3f892df8db58e16e496248e63b35b15181be Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Thu, 26 Feb 2009 15:52:45 +0100 Subject: [PATCH] Add a docstring to `org-run-like-in-org-mode' --- lisp/org.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/org.el b/lisp/org.el index 7359a2529..b9eb52036 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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)))