From 6c2a568a1b77b48366818ffa48cc77e944955307 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Thu, 16 Mar 2006 22:23:22 +0000 Subject: [PATCH] (ido-edit-input): Use selected match, if any. --- lisp/ido.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ido.el b/lisp/ido.el index cae5446abcd..c1d40df5c69 100644 --- a/lisp/ido.el +++ b/lisp/ido.el @@ -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)) -- 2.39.2