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:
parent
25a066d5b6
commit
c8c804e917
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue