projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac45a33
)
Add to minibuffer-history if HISOTRY is nil in ido.el
author
Leo Liu
<sdl.web@gmail.com>
Tue, 29 Mar 2011 08:25:31 +0000
(16:25 +0800)
committer
Leo Liu
<sdl.web@gmail.com>
Tue, 29 Mar 2011 08:25:31 +0000
(16:25 +0800)
It is broken by the change on 2011-03-21.
lisp/ChangeLog
patch
|
blob
|
history
lisp/ido.el
patch
|
blob
|
history
diff --git
a/lisp/ChangeLog
b/lisp/ChangeLog
index 9eeac0d2155f3d6f4808875fa3cc42793c682b6d..57916aa2f0a32776890f6eee730801c9027b37b0 100644
(file)
--- a/
lisp/ChangeLog
+++ b/
lisp/ChangeLog
@@
-1,3
+1,8
@@
+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>
* abbrev.el (abbrev-table-empty-p): New function.
diff --git
a/lisp/ido.el
b/lisp/ido.el
index 177f933887015d861a316c4a3bfba368e2adc486..0ce83d9b88c0e225f60bfeb3026c84f809df2f0f 100644
(file)
--- a/
lisp/ido.el
+++ b/
lisp/ido.el
@@
-2151,7
+2151,7
@@
If INITIAL is non-nil, it specifies the initial input string."
(t
(setq done t))))))
- (a
nd history (add-to-history history ido-selected)
)
+ (a
dd-to-history (or history 'minibuffer-history) ido-selected
)
ido-selected))
(defun ido-edit-input ()