summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-12-09 11:05:34 +0100
committerStefan Kangas <stefankangas@gmail.com>2022-12-09 11:05:34 +0100
commitc2aea9d13232c39178351a12c1c33987f263c280 (patch)
treeaca815dac55e702b60e89fd0caf6753faaf318cd
parentf5c3585e4ddb71c78309f06e844a6c2dd31f3a5f (diff)
downloademacs-c2aea9d13232c39178351a12c1c33987f263c280.tar.gz
; Mention flush-lines in kill-matching-lines docstring
* lisp/replace.el (kill-matching-lines): Add cross-reference to flush-lines.
-rw-r--r--lisp/replace.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index c7ae77d128b..6f59166e352 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -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)