mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-20 18:17:20 +00:00
(ido-edit-input): Use selected match, if any.
This commit is contained in:
parent
76d4eb05f4
commit
6c2a568a1b
@ -1973,7 +1973,7 @@ If INITIAL is non-nil, it specifies the initial input string."
|
||||
(defun ido-edit-input ()
|
||||
"Edit absolute file name entered so far with ido; terminate by RET."
|
||||
(interactive)
|
||||
(setq ido-text-init ido-text)
|
||||
(setq ido-text-init (if ido-matches (car ido-matches) ido-text))
|
||||
(setq ido-exit 'edit)
|
||||
(exit-minibuffer))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user