mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
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:
parent
186297de6e
commit
d0079c9324
1 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue