]> git.eshelyaron.com Git - emacs.git/commit
Add commands 'kill-matching-lines' and 'copy-matching-lines'
authorEarl Hyatt <okamsn@protonmail.com>
Sat, 19 Jun 2021 12:30:31 +0000 (08:30 -0400)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 20 Jul 2021 12:10:23 +0000 (14:10 +0200)
commit3dd87631fca9384fce9f9a72df02ae55b1d3c946
tree867ed7c6d531bf21fb5bc62731ce978f41c81c01
parent0499294a3612d7ba34c5385e11ab0ac1f1cb3416
Add commands 'kill-matching-lines' and 'copy-matching-lines'

* doc/emacs/search.texi: Document these additions.
* lisp/replace.el:
Add the commands 'kill-matching-lines' and 'copy-matching-lines'.

'kill-matching-lines' is like 'flush-lines', but adds the lines to the
kill ring as a single string, keeping line endings.
'copy-matching-lines' is like 'kill-matching-lines', but only copies
those lines instead of killing them.
doc/emacs/search.texi
etc/NEWS
lisp/replace.el