emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/paredit 7c27746 211/224: Fix some wording about paredit-sp


From: ELPA Syncer
Subject: [nongnu] elpa/paredit 7c27746 211/224: Fix some wording about paredit-space-for-delmiter-predicates.
Date: Sat, 7 Aug 2021 09:22:52 -0400 (EDT)

branch: elpa/paredit
commit 7c27746a8eb259ae24b5dce9380801c4846258f0
Author: Taylor R Campbell <campbell+paredit@mumble.net>
Commit: Taylor R Campbell <campbell+paredit@mumble.net>

    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(-)

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,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]