]> git.eshelyaron.com Git - emacs.git/commitdiff
; Mention flush-lines in kill-matching-lines docstring
authorStefan Kangas <stefankangas@gmail.com>
Fri, 9 Dec 2022 10:05:34 +0000 (11:05 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Fri, 9 Dec 2022 10:05:34 +0000 (11:05 +0100)
* lisp/replace.el (kill-matching-lines): Add cross-reference to
flush-lines.

lisp/replace.el

index c7ae77d128bac593b2ef7f5652853aa92653940a..6f59166e352d3119868e528d9f98792201bc25f4 100644 (file)
@@ -1101,7 +1101,10 @@ Hence, a match starting on the same line at which another match
 ended is ignored.
 
 Return the number of killed matching lines.  When called
-interactively, also print the number."
+interactively, also print the number.
+
+If you merely want to delete the lines, without adding them to
+the kill ring, the \\[flush-lines] command is faster."
   (interactive
    (progn
      (barf-if-buffer-read-only)