Sfoglia il codice sorgente

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

* testing/org-test.el (org-test-with-temp-text): Update function documentation.
Eric Schulte 13 anni fa
parent
commit
c8c804e917
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      testing/org-test.el

+ 2 - 1
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