aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1999-07-20 00:49:54 +0000
committerKarl Heuer1999-07-20 00:49:54 +0000
commitefaec94ebd0c9c8862a214912aea466ddf02ebc1 (patch)
tree9ca3662a403ff52341e4d035e274129b1acd3df1
parentc47b5bbea9f4baf7f3ed32700adda543e3502ef7 (diff)
downloademacs-efaec94ebd0c9c8862a214912aea466ddf02ebc1.tar.gz
emacs-efaec94ebd0c9c8862a214912aea466ddf02ebc1.zip
(mouse-set-font): If user uses w32 dialog but
selects no font, treat that as zero selections, not one.
-rw-r--r--lisp/term/w32-win.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el
index 55d680d5e5e..5067b46d15b 100644
--- a/lisp/term/w32-win.el
+++ b/lisp/term/w32-win.el
@@ -900,7 +900,8 @@ the font chosen, covering all the charsets that can be fully represented
900with the font." 900with the font."
901 (interactive 901 (interactive
902 (if w32-use-w32-font-dialog 902 (if w32-use-w32-font-dialog
903 (list (w32-select-font)) 903 (let ((chosen-font (w32-select-font)))
904 (and chosen-font (list chosen-font)))
904 (x-popup-menu 905 (x-popup-menu
905 last-nonmenu-event 906 last-nonmenu-event
906 ;; Append list of fontsets currently defined. 907 ;; Append list of fontsets currently defined.