changeset 102314:7f8b299098d7

(keep-lines-read-args): Use empty string as default (Bug#2495).
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 27 Feb 2009 15:31:36 +0000
parents 5feec5ab8088
children d823cdbe1ce5
files lisp/replace.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/replace.el	Fri Feb 27 15:31:07 2009 +0000
+++ b/lisp/replace.el	Fri Feb 27 15:31:36 2009 +0000
@@ -570,7 +570,7 @@
   "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.