From 4aed723112fb69e52b51b626ee1e4621ed03631b Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Sat, 26 Nov 2022 23:00:13 +0000 Subject: 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 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) -- cgit v1.2.1