From: Kim F. Storm Date: Wed, 16 Feb 2005 21:36:41 +0000 (+0000) Subject: (ido-fallback-command): Pass user input to fallback command. X-Git-Tag: ttn-vms-21-2-B4~2227 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4260edddba8cccb5522bbe3f61a8ffd1af43ab19;p=emacs.git (ido-fallback-command): Pass user input to fallback command. --- 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. (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))