mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-06 20:49:33 +00:00
ido.el (ido-set-matches-1): Fix 2012-09-11 change
This commit is contained in:
parent
03922966f3
commit
9c1228c323
@ -1,3 +1,7 @@
|
||||
2012-09-28 Leo Liu <sdl.web@gmail.com>
|
||||
|
||||
* ido.el (ido-set-matches-1): Fix 2012-09-11 change.
|
||||
|
||||
2012-09-16 Leo Liu <sdl.web@gmail.com>
|
||||
|
||||
IDO: Disable match re-ordering for buffer switching.
|
||||
|
@ -3701,14 +3701,14 @@ This is to make them appear as if they were \"virtual buffers\"."
|
||||
(rexq (concat rex0 (if slash ".*/" "")))
|
||||
(re (if ido-enable-prefix (concat "\\`" rexq) rexq))
|
||||
(full-re (and do-full
|
||||
(and (eq ido-cur-item 'buffer)
|
||||
(not ido-buffer-disable-smart-matches))
|
||||
(not (and (eq ido-cur-item 'buffer)
|
||||
ido-buffer-disable-smart-matches))
|
||||
(not ido-enable-regexp)
|
||||
(not (string-match "\$\\'" rex0))
|
||||
(concat "\\`" rex0 (if slash "/" "") "\\'")))
|
||||
(suffix-re (and do-full slash
|
||||
(and (eq ido-cur-item 'buffer)
|
||||
(not ido-buffer-disable-smart-matches))
|
||||
(not (and (eq ido-cur-item 'buffer)
|
||||
ido-buffer-disable-smart-matches))
|
||||
(not ido-enable-regexp)
|
||||
(not (string-match "\$\\'" rex0))
|
||||
(concat rex0 "/\\'")))
|
||||
|
Loading…
x
Reference in New Issue
Block a user