mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
Fix 'ido--ffap-find-file'
* lisp/ido.el (ido--ffap-find-file): Make the signature consistent with that of 'find-file', and pass the optional second argument to 'find-file'. (Bug#66382)
This commit is contained in:
parent
1594d5f17a
commit
c27b90d04b
@ -1508,8 +1508,8 @@ Removes badly formatted data and ignored directories."
|
||||
(add-hook 'minibuffer-setup-hook #'ido-minibuffer-setup)
|
||||
(add-hook 'choose-completion-string-functions #'ido-choose-completion-string))
|
||||
|
||||
(defun ido--ffap-find-file (file)
|
||||
(find-file file))
|
||||
(defun ido--ffap-find-file (file &optional wildcard)
|
||||
(find-file file wildcard))
|
||||
|
||||
(define-minor-mode ido-everywhere
|
||||
"Toggle use of Ido for all buffer/file reading."
|
||||
|
Loading…
Reference in New Issue
Block a user