aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2005-02-16 21:36:41 +0000
committerKim F. Storm2005-02-16 21:36:41 +0000
commit4260edddba8cccb5522bbe3f61a8ffd1af43ab19 (patch)
tree6773756fd1d59fafba6f71203fe7bef616260a3a
parent4aed6e1eae5234afff7b7b080cb0a9f23fa82c0d (diff)
downloademacs-4260edddba8cccb5522bbe3f61a8ffd1af43ab19.tar.gz
emacs-4260edddba8cccb5522bbe3f61a8ffd1af43ab19.zip
(ido-fallback-command): Pass user input to fallback command.
-rw-r--r--lisp/ido.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index 389ddb0b9a1..86a88d0d491 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -2280,6 +2280,9 @@ If no buffer or file exactly matching the prompt exists, maybe create a new one.
2280(defun ido-fallback-command () 2280(defun ido-fallback-command ()
2281 "Fallback to non-ido version of current command." 2281 "Fallback to non-ido version of current command."
2282 (interactive) 2282 (interactive)
2283 (let ((i (length ido-text)))
2284 (while (> i 0)
2285 (push (aref ido-text (setq i (1- i))) unread-command-events)))
2283 (setq ido-exit 'fallback) 2286 (setq ido-exit 'fallback)
2284 (exit-minibuffer)) 2287 (exit-minibuffer))
2285 2288