mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(mouse-set-font): If user uses w32 dialog but
selects no font, treat that as zero selections, not one.
This commit is contained in:
parent
c47b5bbea9
commit
efaec94ebd
1 changed files with 2 additions and 1 deletions
|
|
@ -900,7 +900,8 @@ the font chosen, covering all the charsets that can be fully represented
|
|||
with the font."
|
||||
(interactive
|
||||
(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
|
||||
last-nonmenu-event
|
||||
;; Append list of fontsets currently defined.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue