summaryrefslogtreecommitdiff
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-02-27 15:31:36 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-02-27 15:31:36 +0000
commitc4bf8039f5ead8deec73b6979add198f1c0f5ee8 (patch)
treeb9a3ecf77ab52af316de4dff4e974304d12853d7 /lisp/replace.el
parentc2c7b2f2f21014f620dbafdb7b5f22fd275aea8a (diff)
downloademacs-c4bf8039f5ead8deec73b6979add198f1c0f5ee8.tar.gz
(keep-lines-read-args): Use empty string as default (Bug#2495).
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index 131bfb66f77..a375c87e74f 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.