aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/replace.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el10
1 files changed, 4 insertions, 6 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index be006618d83..bfe47d20d6c 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -1,6 +1,6 @@
1;;; replace.el --- replace commands for Emacs. 1;;; replace.el --- replace commands for Emacs.
2 2
3;; Copyright (C) 1985, 1986, 1987, 1992, 1994, 1996 Free Software Foundation, Inc. 3;; Copyright (C) 1985, 86, 87, 92, 94, 96, 1997 Free Software Foundation, Inc.
4 4
5;; This file is part of GNU Emacs. 5;; This file is part of GNU Emacs.
6 6
@@ -405,11 +405,9 @@ the matching is case-sensitive."
405 (format "List lines matching regexp (default `%s'): " 405 (format "List lines matching regexp (default `%s'): "
406 default) 406 default)
407 "List lines matching regexp: ") 407 "List lines matching regexp: ")
408 nil nil nil 'regexp-history nil t))) 408 nil nil nil 'regexp-history default t)))
409 (if (string-equal input "") 409 (set-text-properties 0 (length input) nil input)
410 default 410 input)
411 (set-text-properties 0 (length input) nil input)
412 input))
413 current-prefix-arg)) 411 current-prefix-arg))
414 (let ((nlines (if nlines 412 (let ((nlines (if nlines
415 (prefix-numeric-value nlines) 413 (prefix-numeric-value nlines)