summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2011-09-23 15:49:31 -0600
committerEric Schulte <schulte.eric@gmail.com>2011-09-23 15:49:31 -0600
commitc8c804e91722a30bd9c37e0fe322c22f2507ee49 (patch)
tree7ee33304674c98e3e9e664c49f480f0cccd160cf
parent25a066d5b6d4c95e20069f56489081fc45469203 (diff)
downloadorg-mode-c8c804e91722a30bd9c37e0fe322c22f2507ee49.tar.gz
update function documentation for `org-test-with-temp-text'
* testing/org-test.el (org-test-with-temp-text): Update function documentation.
-rw-r--r--testing/org-test.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/org-test.el b/testing/org-test.el
index 333fb5f..75cb8bf 100644
--- a/testing/org-test.el
+++ b/testing/org-test.el
@@ -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