summaryrefslogtreecommitdiff
path: root/test-snakemake-mode.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-03-07 18:22:59 -0500
committerKyle Meyer <kyle@kyleam.com>2015-03-07 18:22:59 -0500
commit8540bfcee23880fd64a41739308c20503a1a25e5 (patch)
treec4168ea29a17eb84aa9081011835801d6ebb53be /test-snakemake-mode.el
parent7801d2b52d9779c81672a6f81e557c5d2c1aa6ae (diff)
downloadsnakemake-mode-8540bfcee23880fd64a41739308c20503a1a25e5.tar.gz
snakemake-with-temp-text: Rewrite docstring
Diffstat (limited to 'test-snakemake-mode.el')
-rw-r--r--test-snakemake-mode.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/test-snakemake-mode.el b/test-snakemake-mode.el
index 5b94fe2..2f8e53b 100644
--- a/test-snakemake-mode.el
+++ b/test-snakemake-mode.el
@@ -24,8 +24,9 @@
;; This is modified from `org-tests.el' (55c0708).
(defmacro snakemake-with-temp-text (text &rest body)
- "Run body in a temporary buffer with Snakemake mode as the
-active mode holding TEXT. If the string \"<point>\" appears in
+ "Run body in a temporary Snakemake mode buffer.
+
+Fill the buffer with TEXT. If the string \"<point>\" appears in
TEXT then remove it and place the point there before running
BODY, otherwise place the point at the beginning of the inserted
text."