mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-23 18:47:57 +00:00
* lisp/find-dired.el (find-dired): Fix bug where M-p skips first history item.
Don't apply "skip first duplicate history item" trick when find-args used as initial input is nil.
This commit is contained in:
parent
647cc9c65e
commit
e6c5f32e77
@ -177,7 +177,9 @@ using GNU findutils (on macOS and *BSD systems), see instead the
|
||||
man page for \"find\"."
|
||||
(interactive (list (read-directory-name "Run find in directory: " nil "" t)
|
||||
(read-string "Run find (with args): " find-args
|
||||
'(find-args-history . 1))))
|
||||
(if find-args
|
||||
'(find-args-history . 1)
|
||||
'find-args-history))))
|
||||
(setq find-args args ; save for next interactive call
|
||||
args (concat find-program " . "
|
||||
(if (string= args "")
|
||||
|
Loading…
Reference in New Issue
Block a user