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
d2cadc4b
Commit
d2cadc4b
authored
Jan 09, 1993
by
Richard M. Stallman
Browse files
(dired-regexp-history): New history list.
(dired-read-regexp): Use that history list. Take just one arg.
parent
d680e99c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
lisp/dired.el
lisp/dired.el
+5
-4
No files found.
lisp/dired.el
View file @
d2cadc4b
...
...
@@ -1605,10 +1605,11 @@ Optional prefix ARG says how many lines to unflag; default is one line."
;;; Commands to mark or flag files based on their characteristics or names.
(
defun
dired-read-regexp
(
prompt
&optional
initial
)
;; This is an extra function so that gmhist can redefine it.
(
setq
dired-flagging-regexp
(
read-string
prompt
(
or
initial
dired-flagging-regexp
))))
(
defvar
dired-regexp-history
nil
"History list of regular expressions used in Dired commands."
)
(
defun
dired-read-regexp
(
prompt
)
(
read-from-minibuffer
prompt
nil
nil
nil
'dired-regexp-history
))
(
defun
dired-mark-files-regexp
(
regexp
&optional
marker-char
)
"Mark all files matching REGEXP for use in later commands.
...
...
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