summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell@paredit.org>2023-07-18 20:26:32 +0000
committerTaylor R Campbell <campbell@paredit.org>2023-07-18 20:27:10 +0000
commit9eaeed9ba096e125cad2174545e17a1b8d0f2c76 (patch)
tree57a87893f69cddc6a01566d24c43505925e822ca
parent9a2c4b37fc8c1c7bdbb1f86fdec874c0d0652e64 (diff)
Fix some typos in docstrings, from Tomas Volf.
-rw-r--r--CREDITS1
-rw-r--r--paredit.el6
2 files changed, 4 insertions, 3 deletions
diff --git a/CREDITS b/CREDITS
index efdf5ce..532158a 100644
--- a/CREDITS
+++ b/CREDITS
@@ -37,6 +37,7 @@ Tobias C. Rittweiler
Andreas Roehler
Jorgen Schäfer
Vladimir Sedach
+Tomas Volf
Michael Weber
Goran Weinholt
Norman Werner
diff --git a/paredit.el b/paredit.el
index b5f96bc..a326f80 100644
--- a/paredit.el
+++ b/paredit.el
@@ -913,7 +913,7 @@ If in a character literal, do nothing. This prevents accidentally
(defun paredit-meta-doublequote (&optional n)
"Move to the end of the string.
-If not in a string, act as `paredit-doublequote'; if not prefix argument
+If not in a string, act as `paredit-doublequote'; if no prefix argument
is specified and the region is not active or `transient-mark-mode' is
disabled, the default is to wrap one S-expression, however, not zero."
(interactive "P")
@@ -923,7 +923,7 @@ If not in a string, act as `paredit-doublequote'; if not prefix argument
(defun paredit-meta-doublequote-and-newline (&optional n)
"Move to the end of the string, insert a newline, and indent.
-If not in a string, act as `paredit-doublequote'; if not prefix argument
+If not in a string, act as `paredit-doublequote'; if no prefix argument
is specified and the region is not active or `transient-mark-mode' is
disabled, the default is to wrap one S-expression, however, not zero."
(interactive "P")
@@ -1954,7 +1954,7 @@ If there are no more S-expressions in this one before the closing
(defun-motion paredit-backward (&optional arg)
"Move backward an S-expression, or up an S-expression backward.
If there are no more S-expressions in this one before the opening
- delimiter, move past that opening delimiter backward; otherwise, move
+ delimiter, move past that opening delimiter backward; otherwise,
move backward past the S-expression preceding the point."
(let ((n (or arg 1)))
(cond ((< 0 n) (dotimes (i n) (paredit-move-backward)))