Commit 0da7d35c authored by Stefan Monnier's avatar Stefan Monnier

* lisp/register.el (register-read-with-preview): Don't burp on

frame switches (e.g. due to the frame we just popped).
parent c435f506
2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
* register.el (register-read-with-preview): Don't burp on
frame switches (e.g. due to the frame we just popped).
* mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
(mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
......
......@@ -161,7 +161,7 @@ display such a window regardless."
collect c)))
(unwind-protect
(progn
(while (memq (read-event (propertize prompt 'face 'minibuffer-prompt))
(while (memq (read-key (propertize prompt 'face 'minibuffer-prompt))
help-chars)
(unless (get-buffer-window buffer)
(register-preview buffer 'show-empty)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment