summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/easy-mmode.el
diff options
context:
space:
mode:
authorStephen Eglen <stephen@gnu.org>2003-11-25 14:45:32 +0000
committerStephen Eglen <stephen@gnu.org>2003-11-25 14:45:32 +0000
commit4dddd07f26ce4fb14adeda46465809e04e2b6cef (patch)
tree664d9e89664c0746cc60fc2e4825c8d18554cb0b /lisp/emacs-lisp/easy-mmode.el
parent00498bfc928ebe82169895fa899785dec5c808e5 (diff)
downloademacs-4dddd07f26ce4fb14adeda46465809e04e2b6cef.tar.gz
emacs-4dddd07f26ce4fb14adeda46465809e04e2b6cef.tar.bz2
emacs-4dddd07f26ce4fb14adeda46465809e04e2b6cef.zip
iswitchb-read-buffer: check that iswitchb-exit is not 'usefirst (set
when user presses RETURN to select buffer) before running: ;; This happens for example if the buffer was chosen with the mouse. (setq iswitchb-matches (list iswitchb-final-text))) iswitchb-exit-minibuffer: set iswitchb-exit to 'usefirst. These changes were made to fix the following bug reported by Markus Rost and John Wiegley: Evaluate: (progn (iswitchb-mode 1) (get-buffer-create "12") (get-buffer-create "1") (iswitchb-buffer)) You get prompted in the minibuffer. Type "1". The minibuffer shows iswitch 1{12,1} Hit RET. You find yourself in buffer "1" instead of "12", as you would expect from the documentation. This bug was introduced when iswitchb-read-buffer was updated to allow user to select items from the *Completions* buffer with the mouse.
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
0 files changed, 0 insertions, 0 deletions