diff options
author | Glenn Morris <rgm@gnu.org> | 2012-11-30 20:27:56 -0500 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-11-30 20:27:56 -0500 |
commit | a940045887decb3ace683daaf6f190d8e49f37d6 (patch) | |
tree | 602510f721dc3c28fc2a31db3901e36147be1f41 /lisp/ido.el | |
parent | 00054d2199d929eb224ae62dec2e55608ff1c07f (diff) | |
download | emacs-a940045887decb3ace683daaf6f190d8e49f37d6.tar.gz |
ido.el fix for bug#13036
* lisp/ido.el (ido-file-internal): Handle other-window, other-frame for dired.
Diffstat (limited to 'lisp/ido.el')
-rw-r--r-- | lisp/ido.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ido.el b/lisp/ido.el index f4f9c27c847..7044fa496db 100644 --- a/lisp/ido.el +++ b/lisp/ido.el @@ -2389,7 +2389,10 @@ If cursor is not at the end of the user input, move to end of input." (ido-buffer-internal 'insert 'insert-buffer "Insert buffer: " nil ido-text 'ido-enter-insert-file)) ((eq ido-exit 'dired) - (dired (concat ido-current-directory (or ido-text "")))) + (funcall (cond ((eq method 'other-window) 'dired-other-window) + ((eq method 'other-frame) 'dired-other-frame) + (t 'dired)) + (concat ido-current-directory (or ido-text "")))) ((eq ido-exit 'ffap) (find-file-at-point)) |