summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell@paredit.org>2022-11-26 23:00:13 +0000
committerTaylor R Campbell <campbell@paredit.org>2022-11-26 23:00:16 +0000
commit4aed723112fb69e52b51b626ee1e4621ed03631b (patch)
treee31063be2d672b9efe4863f7b7ec87d06907486a
parent34756f80dfe560b999e66399db000c722ca494ba (diff)
test.el: Clarify comment about kill-line and show-trailing-whitespace.
-rw-r--r--test.el14
1 files changed, 8 insertions, 6 deletions
diff --git a/test.el b/test.el
index 538467c..9e1b50c 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)