Mercurial > emacs
comparison lisp/term/w32-win.el @ 69545:c051e02e3174
(mouse-set-font): Mention w32-list-proportional-fonts in the doc string.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 18 Mar 2006 12:57:11 +0000 |
parents | 665da4a60868 |
children | fa6cedf25a5b |
comparison
equal
deleted
inserted
replaced
69544:8c5b4b2e75e6 | 69545:c051e02e3174 |
---|---|
1196 (set-fontset-font nil (make-char 'latin-jisx0201) '("*" . "JISX0208-SJIS")) | 1196 (set-fontset-font nil (make-char 'latin-jisx0201) '("*" . "JISX0208-SJIS")) |
1197 (set-fontset-font nil (make-char 'japanese-jisx0208) '("*" . "JISX0208-SJIS")) | 1197 (set-fontset-font nil (make-char 'japanese-jisx0208) '("*" . "JISX0208-SJIS")) |
1198 (set-fontset-font nil (make-char 'japanese-jisx0208-1978) '("*" . "JISX0208-SJIS")) | 1198 (set-fontset-font nil (make-char 'japanese-jisx0208-1978) '("*" . "JISX0208-SJIS")) |
1199 | 1199 |
1200 (defun mouse-set-font (&rest fonts) | 1200 (defun mouse-set-font (&rest fonts) |
1201 "Select a font. | 1201 "Select an Emacs font from a list of known good fonts and fontsets. |
1202 | |
1202 If `w32-use-w32-font-dialog' is non-nil (the default), use the Windows | 1203 If `w32-use-w32-font-dialog' is non-nil (the default), use the Windows |
1203 font dialog to get the matching FONTS. Otherwise use a pop-up menu | 1204 font dialog to display the list of possible fonts. Otherwise use a |
1204 \(like Emacs on other platforms) initialized with the fonts in | 1205 pop-up menu (like Emacs does on other platforms) initialized with |
1205 `w32-fixed-font-alist'." | 1206 the fonts in `w32-fixed-font-alist'. |
1207 If `w32-list-proportional-fonts' is non-nil, add proportional fonts | |
1208 to the list in the font selection dialog (the fonts listed by the | |
1209 pop-up menu are unaffected by `w32-list-proportional-fonts')." | |
1206 (interactive | 1210 (interactive |
1207 (if w32-use-w32-font-dialog | 1211 (if w32-use-w32-font-dialog |
1208 (let ((chosen-font (w32-select-font (selected-frame) | 1212 (let ((chosen-font (w32-select-font (selected-frame) |
1209 w32-list-proportional-fonts))) | 1213 w32-list-proportional-fonts))) |
1210 (and chosen-font (list chosen-font))) | 1214 (and chosen-font (list chosen-font))) |