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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue