]> git.eshelyaron.com Git - emacs.git/commitdiff
* simple.el (kill-line): Note effect of `show-trailing-whitespace'.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 23 Sep 2011 10:52:23 +0000 (12:52 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 23 Sep 2011 10:52:23 +0000 (12:52 +0200)
Fixes: debbugs:4538
lisp/ChangeLog
lisp/simple.el

index ff0e18403a6b741aaac57566476a8bcab44a46b4..1fdad104feac3bb5481cd0f9bd2c73cb391c24de 100644 (file)
@@ -1,3 +1,8 @@
+2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * simple.el (kill-line): Note effect of `show-trailing-whitespace'
+       (bug#4538).
+
 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions): Fix
index 3cd46bf284c7fd6e713082dda53b7969b722f86c..35193135396e5379d78b45fa339f53849239fd3d 100644 (file)
@@ -3430,6 +3430,10 @@ a number counts as a prefix arg.
 To kill a whole line, when point is not at the beginning, type \
 \\[move-beginning-of-line] \\[kill-line] \\[kill-line].
 
+If `show-trailing-whitespace' is non-nil, this command will just
+kill the rest of the current line, even if there are only
+nonblanks there.
+
 If `kill-whole-line' is non-nil, then this command kills the whole line
 including its terminating newline, when used at the beginning of a line
 with no argument.  As a consequence, you can always kill a whole line