summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paredit.el17
1 files changed, 8 insertions, 9 deletions
diff --git a/paredit.el b/paredit.el
index 8f6b685..3b69058 100644
--- a/paredit.el
+++ b/paredit.el
@@ -771,17 +771,16 @@ If such a comment exists, delete the comment (including all leading
"List of predicates for whether to put space by delimiter at point.
Each predicate is a function that is is applied to two arguments, ENDP
and DELIMITER, and that returns a boolean saying whether to put a
- space next to the delimiter -- before the delimiter if ENDP is false,
- after the delimiter if ENDP is true.
+ space next to the delimiter -- before/after the delimiter if ENDP is
+ false/true, respectively.
If any predicate returns false, no space is inserted: every predicate
has veto power.
-Each predicate may assume that the point is not at the beginning of the
- buffer, if ENDP is false, or at the end of the buffer, if ENDP is
- true; and that the point is not preceded, if ENDP is false, or
- followed, if ENDP is true, by a word or symbol constituent, a quote,
- or the delimiter matching DELIMITER.
-Each predicate should examine only text before the point, if ENDP is
- false, or only text after the point, if ENDP is true.")
+Each predicate may assume that the point is not at the beginning/end of
+ the buffer, and that the point is preceded/followed by a word
+ constituent, symbol constituent, string quote, or delimiter matching
+ DELIMITER, if ENDP is false/true, respectively.
+Each predicate should examine only text before/after the point if ENDP is
+ false/true, respectively.")
(defun paredit-space-for-delimiter-p (endp delimiter)
;; If at the buffer limit, don't insert a space. If there is a word,