branch: elpa/paredit
commit 4aed723112fb69e52b51b626ee1e4621ed03631b
Author: Taylor R Campbell <[email protected]>
Commit: Taylor R Campbell <[email protected]>
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)