Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
aeab5be0
Commit
aeab5be0
authored
Jan 03, 1998
by
Richard M. Stallman
Browse files
(occur): Pass default to read-from-minibuffer so that
M-n can insert default value into minibuffer.
parent
13161e8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
lisp/replace.el
lisp/replace.el
+4
-6
No files found.
lisp/replace.el
View file @
aeab5be0
;;; replace.el --- replace commands for Emacs.
;; Copyright (C) 1985,
19
86,
19
87,
19
92,
19
94, 199
6
Free Software Foundation, Inc.
;; Copyright (C) 1985, 86, 87, 92, 94
, 96
, 199
7
Free Software Foundation, Inc.
;; This file is part of GNU Emacs.
...
...
@@ -405,11 +405,9 @@ the matching is case-sensitive."
(
format
"List lines matching regexp (default `%s'): "
default
)
"List lines matching regexp: "
)
nil
nil
nil
'regexp-history
nil
t
)))
(
if
(
string-equal
input
""
)
default
(
set-text-properties
0
(
length
input
)
nil
input
)
input
))
nil
nil
nil
'regexp-history
default
t
)))
(
set-text-properties
0
(
length
input
)
nil
input
)
input
)
current-prefix-arg
))
(
let
((
nlines
(
if
nlines
(
prefix-numeric-value
nlines
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment