mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
(keep-lines-read-args): Use empty string as default (Bug#2495).
This commit is contained in:
parent
c2c7b2f2f2
commit
c4bf8039f5
@ -570,7 +570,7 @@ regexp, the last isearch string, and the last replacement regexp."
|
||||
"Read arguments for `keep-lines' and friends.
|
||||
Prompt for a regexp with PROMPT.
|
||||
Value is a list, (REGEXP)."
|
||||
(list (read-regexp prompt) nil nil t))
|
||||
(list (read-regexp prompt "") nil nil t))
|
||||
|
||||
(defun keep-lines (regexp &optional rstart rend interactive)
|
||||
"Delete all lines except those containing matches for REGEXP.
|
||||
|
Loading…
Reference in New Issue
Block a user