[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r103772: Add to minibuffer-history if
From: |
Leo Liu |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r103772: Add to minibuffer-history if HISOTRY is nil in ido.el |
Date: |
Tue, 29 Mar 2011 16:25:31 +0800 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 103772
committer: Leo Liu <address@hidden>
branch nick: trunk
timestamp: Tue 2011-03-29 16:25:31 +0800
message:
Add to minibuffer-history if HISOTRY is nil in ido.el
It is broken by the change on 2011-03-21.
modified:
lisp/ChangeLog
lisp/ido.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2011-03-28 14:34:32 +0000
+++ b/lisp/ChangeLog 2011-03-29 08:25:31 +0000
@@ -1,3 +1,8 @@
+2011-03-29 Leo Liu <address@hidden>
+
+ * ido.el (ido-read-internal): Use the default history var
+ minibuffer-history if no HISTORY is specified.
+
2011-03-28 Leo Liu <address@hidden>
* abbrev.el (abbrev-table-empty-p): New function.
=== modified file 'lisp/ido.el'
--- a/lisp/ido.el 2011-03-25 00:42:26 +0000
+++ b/lisp/ido.el 2011-03-29 08:25:31 +0000
@@ -2151,7 +2151,7 @@
(t
(setq done t))))))
- (and history (add-to-history history ido-selected))
+ (add-to-history (or history 'minibuffer-history) ido-selected)
ido-selected))
(defun ido-edit-input ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r103772: Add to minibuffer-history if HISOTRY is nil in ido.el,
Leo Liu <=