(keep-lines-read-args): Use empty string as default (Bug#2495).
This commit is contained in:
parent
c2c7b2f2f2
commit
c4bf8039f5
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue