Commit 69d565e2 authored by Martin Rudalics's avatar Martin Rudalics Committed by Chong Yidong
Browse files

* lisp/simple.el (choose-completion): Use quit-window.

Fixes: debbugs:11567
parent a149fa51
2012-05-29 Martin Rudalics <>
* simple.el (choose-completion): Use quit-window (Bug#11567).
2012-05-29 Chong Yidong <>
* whitespace.el (whitespace-cleanup): Fix usage of
......@@ -6203,16 +6203,7 @@ With prefix argument N, move N items (negative N means move backward)."
(unless (buffer-live-p buffer)
(error "Destination buffer is dead"))
(select-window (posn-window (event-start event)))
(if (and (one-window-p t 'selected-frame)
(window-dedicated-p (selected-window)))
;; This is a special buffer's frame
(iconify-frame (selected-frame))
(or (window-dedicated-p (selected-window))
(or (get-buffer-window buffer 0)
(quit-window nil (posn-window (event-start event)))
(with-current-buffer buffer
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