]> git.eshelyaron.com Git - emacs.git/commitdiff
(keep-lines-read-args): Use empty string as default (Bug#2495).
authorChong Yidong <cyd@stupidchicken.com>
Fri, 27 Feb 2009 15:31:36 +0000 (15:31 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 27 Feb 2009 15:31:36 +0000 (15:31 +0000)
lisp/replace.el

index 131bfb66f774e5482ce70b611f27d0f6cbad0612..a375c87e74f344286673afc2c939dba5290a5764 100644 (file)
@@ -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.