From: Chong Yidong Date: Fri, 27 Feb 2009 15:31:36 +0000 (+0000) Subject: (keep-lines-read-args): Use empty string as default (Bug#2495). X-Git-Tag: emacs-pretest-23.0.92~418 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c4bf8039f5ead8deec73b6979add198f1c0f5ee8;p=emacs.git (keep-lines-read-args): Use empty string as default (Bug#2495). --- 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.