]> git.eshelyaron.com Git - emacs.git/commitdiff
(ido-fallback-command): Pass user input to fallback command.
authorKim F. Storm <storm@cua.dk>
Wed, 16 Feb 2005 21:36:41 +0000 (21:36 +0000)
committerKim F. Storm <storm@cua.dk>
Wed, 16 Feb 2005 21:36:41 +0000 (21:36 +0000)
lisp/ido.el

index 389ddb0b9a1b93634fc56c93bfb08db89fa8961e..86a88d0d491d3b73524f8e4a50e7f042ea1ce9ad 100644 (file)
@@ -2280,6 +2280,9 @@ If no buffer or file exactly matching the prompt exists, maybe create a new one.
 (defun ido-fallback-command ()
   "Fallback to non-ido version of current command."
   (interactive)
+  (let ((i (length ido-text)))
+    (while (> i 0)
+      (push (aref ido-text (setq i (1- i))) unread-command-events)))
   (setq ido-exit 'fallback)
   (exit-minibuffer))