Commit efaec94e authored by Karl Heuer's avatar Karl Heuer
Browse files

(mouse-set-font): If user uses w32 dialog but

selects no font, treat that as zero selections, not one.
parent c47b5bbe
...@@ -900,7 +900,8 @@ the font chosen, covering all the charsets that can be fully represented ...@@ -900,7 +900,8 @@ the font chosen, covering all the charsets that can be fully represented
with the font." with the font."
(interactive (interactive
(if w32-use-w32-font-dialog (if w32-use-w32-font-dialog
(list (w32-select-font)) (let ((chosen-font (w32-select-font)))
(and chosen-font (list chosen-font)))
(x-popup-menu (x-popup-menu
last-nonmenu-event last-nonmenu-event
;; Append list of fontsets currently defined. ;; Append list of fontsets currently defined.
......
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