aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Liu2011-03-29 16:25:31 +0800
committerLeo Liu2011-03-29 16:25:31 +0800
commitea62283460e5aae0f3e5dc68f38d035d5f17f540 (patch)
treee43ce7f3c03068eb467f539c06a880f14ef26fca
parentac45a3386eab2644a1c21d8816e247d596e29a5e (diff)
downloademacs-ea62283460e5aae0f3e5dc68f38d035d5f17f540.tar.gz
emacs-ea62283460e5aae0f3e5dc68f38d035d5f17f540.zip
Add to minibuffer-history if HISOTRY is nil in ido.el
It is broken by the change on 2011-03-21.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/ido.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9eeac0d2155..57916aa2f0a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-03-29 Leo Liu <sdl.web@gmail.com>
2
3 * ido.el (ido-read-internal): Use the default history var
4 minibuffer-history if no HISTORY is specified.
5
12011-03-28 Leo Liu <sdl.web@gmail.com> 62011-03-28 Leo Liu <sdl.web@gmail.com>
2 7
3 * abbrev.el (abbrev-table-empty-p): New function. 8 * abbrev.el (abbrev-table-empty-p): New function.
diff --git a/lisp/ido.el b/lisp/ido.el
index 177f9338870..0ce83d9b88c 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -2151,7 +2151,7 @@ If INITIAL is non-nil, it specifies the initial input string."
2151 2151
2152 (t 2152 (t
2153 (setq done t)))))) 2153 (setq done t))))))
2154 (and history (add-to-history history ido-selected)) 2154 (add-to-history (or history 'minibuffer-history) ido-selected)
2155 ido-selected)) 2155 ido-selected))
2156 2156
2157(defun ido-edit-input () 2157(defun ido-edit-input ()