Commit ea622834 authored by Leo Liu's avatar Leo Liu
Browse files

Add to minibuffer-history if HISOTRY is nil in ido.el

It is broken by the change on 2011-03-21.
parent ac45a338
2011-03-29 Leo Liu <sdl.web@gmail.com>
* ido.el (ido-read-internal): Use the default history var
minibuffer-history if no HISTORY is specified.
2011-03-28 Leo Liu <sdl.web@gmail.com> 2011-03-28 Leo Liu <sdl.web@gmail.com>
   
* abbrev.el (abbrev-table-empty-p): New function. * abbrev.el (abbrev-table-empty-p): New function.
......
...@@ -2151,7 +2151,7 @@ If INITIAL is non-nil, it specifies the initial input string." ...@@ -2151,7 +2151,7 @@ If INITIAL is non-nil, it specifies the initial input string."
(t (t
(setq done t)))))) (setq done t))))))
(and history (add-to-history history ido-selected)) (add-to-history (or history 'minibuffer-history) ido-selected)
ido-selected)) ido-selected))
(defun ido-edit-input () (defun ido-edit-input ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment