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

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

[nongnu] elpa/paredit 4aed723112 3/5: test.el: Clarify comment about kil


From: ELPA Syncer
Subject: [nongnu] elpa/paredit 4aed723112 3/5: test.el: Clarify comment about kill-line and show-trailing-whitespace.
Date: Sat, 26 Nov 2022 19:59:18 -0500 (EST)

branch: elpa/paredit
commit 4aed723112fb69e52b51b626ee1e4621ed03631b
Author: Taylor R Campbell <campbell@paredit.org>
Commit: Taylor R Campbell <campbell@paredit.org>

    test.el: Clarify comment about kill-line and show-trailing-whitespace.
---
 test.el | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/test.el b/test.el
index 538467c465..9e1b50c499 100644
--- a/test.el
+++ b/test.el
@@ -438,9 +438,10 @@ Four arguments: the paredit command, the text of the buffer
     ("| " "|" error)
     (" |" error)
     ("| \n "
-     ;; This ought to be an intermediate step, but evidently it is only
-     ;; in recent versions of GNU Emacs with `show-trailing-whitespace'
-     ;; set to thanks to some brain damage in `kill-line'.
+     ;; If trailing whitespace is invisible, i.e., if
+     ;; `show-trailing-whitespace' is nil, `kill-line' deliberately
+     ;; skips this intermediate step, treaing trailing whitespace as if
+     ;; it were just an end of line.
      ;;
      ;; "|\n "
      "| " "|" error)
@@ -772,9 +773,10 @@ Four arguments: the paredit command, the text of the buffer
       ("| " "|" error)
       (" |" error)
       ("| \n "
-       ;; This ought to be an intermediate step, but evidently it is only
-       ;; in recent versions of GNU Emacs with `show-trailing-whitespace'
-       ;; set to thanks to some brain damage in `kill-line'.
+       ;; If trailing whitespace is invisible, i.e., if
+       ;; `show-trailing-whitespace' is nil, `kill-line' deliberately
+       ;; skips this intermediate step, treaing trailing whitespace as
+       ;; if it were just an end of line.
        ;;
        ;; "|\n "
        "| " "|" error)



reply via email to

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