Преглед на файлове

Add a docstring to `org-run-like-in-org-mode'

Carsten Dominik преди 16 години
родител
ревизия
0a5c3f892d
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      lisp/org.el

+ 4 - 0
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)))