babel: improve doc strings for org-babel-execute-buffer and org-babel-execute-subtree

This commit is contained in:
Eric Schulte 2010-01-11 08:47:29 -07:00
parent 566f88e348
commit 1e8107faf7
1 changed files with 4 additions and 2 deletions

View File

@ -294,7 +294,8 @@ results already exist."
t)))
(defun org-babel-execute-buffer (&optional arg)
"Replace EVAL snippets in the entire buffer."
"Call `org-babel-execute-src-block' on every source block in
the current buffer."
(interactive "P")
(save-excursion
(goto-char (point-min))
@ -304,7 +305,8 @@ results already exist."
(goto-char (match-end 0)))))
(defun org-babel-execute-subtree (&optional arg)
"Replace EVAL snippets in the entire subtree."
"Call `org-babel-execute-src-block' on every source block in
the current subtree."
(interactive "P")
(save-excursion
(org-narrow-to-subtree)