From 7c27746a8eb259ae24b5dce9380801c4846258f0 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Wed, 15 Jun 2016 20:25:41 +0000 Subject: Fix some wording about paredit-space-for-delmiter-predicates. This description is still bad and could use more work. Patches welcome! Noted by Leo Liu. --- paredit.el | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'paredit.el') 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, -- cgit v1.2.1