From 4260edddba8cccb5522bbe3f61a8ffd1af43ab19 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Wed, 16 Feb 2005 21:36:41 +0000 Subject: [PATCH] (ido-fallback-command): Pass user input to fallback command. --- lisp/ido.el | 3 +++ 1 file changed, 3 insertions(+) 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)) -- 2.39.2