In `widget-color--choose-action' quit *Color* window instead of deleting it
* lisp/wid-edit.el (widget-color--choose-action): Quit *Color* window instead of deleting it.
This commit is contained in:
committed by
Martin Rudalics
parent
186297de6e
commit
d0079c9324
@@ -3706,9 +3706,9 @@ example:
|
||||
(widget-value-set ',(widget-get widget :parent) color)
|
||||
(let* ((buf (get-buffer "*Colors*"))
|
||||
(win (get-buffer-window buf 0)))
|
||||
(bury-buffer buf)
|
||||
(and win (> (length (window-list)) 1)
|
||||
(delete-window win)))
|
||||
(if win
|
||||
(quit-window nil win)
|
||||
(bury-buffer buf)))
|
||||
(pop-to-buffer ,(current-buffer))))))
|
||||
|
||||
(defun widget-color-sample-face-get (widget)
|
||||
|
||||
Reference in New Issue
Block a user