aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2009-02-27 15:31:36 +0000
committerChong Yidong <[email protected]>2009-02-27 15:31:36 +0000
commitc4bf8039f5ead8deec73b6979add198f1c0f5ee8 (patch)
treeb9a3ecf77ab52af316de4dff4e974304d12853d7
parentc2c7b2f2f21014f620dbafdb7b5f22fd275aea8a (diff)
(keep-lines-read-args): Use empty string as default (Bug#2495).
-rw-r--r--lisp/replace.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index 131bfb66f7..a375c87e74 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -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.