update function documentation for `org-test-with-temp-text'

* testing/org-test.el (org-test-with-temp-text): Update function documentation.
This commit is contained in:
Eric Schulte 2011-09-23 15:49:31 -06:00
parent 25a066d5b6
commit c8c804e917
1 changed files with 2 additions and 1 deletions

View File

@ -183,7 +183,8 @@ files."
(defmacro org-test-with-temp-text (text &rest body)
"Run body in a temporary buffer with Org-mode as the active
mode holding TEXT. If the string \"<point>\" appears in TEXT
then remove it and place the point there before running BODY."
then remove it and place the point there before running BODY,
otherwise place the point at the beginning of the inserted text."
(declare (indent 1))
(let ((inside-text (if (stringp text) text (eval text))))
`(with-temp-buffer