mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 23:31:55 -08:00
Improve an example in w32 FAQ
* doc/misc/efaq-w32.texi (Font names): Modify the expression to insert a lits of all installed fonts so as to avoid producing too long lines. Suggested by ndame <ndame@protonmail.com>.
This commit is contained in:
parent
0ed7177696
commit
fb5f616ae8
1 changed files with 6 additions and 3 deletions
|
|
@ -942,10 +942,13 @@ To find the XFLD name for a font, you can execute the following in the
|
|||
(x-select-font nil t)
|
||||
@end example
|
||||
|
||||
To see a complete list of fonts, execute the following in the
|
||||
@file{*scratch*} buffer by pressing C-x C-e at the end of the line:
|
||||
To see a complete list of fonts, execute the following Lisp snippet by
|
||||
typing it into the @file{*scratch*} buffer and pressing @w{@kbd{C-x
|
||||
C-e}} at the end of the second line:
|
||||
|
||||
@example
|
||||
(insert (prin1-to-string (x-list-fonts "*")))
|
||||
(dolist (font (x-list-fonts "*"))
|
||||
(insert (format "%s\n" font)))
|
||||
@end example
|
||||
|
||||
The command line options and frame-parameters for changing the default font
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue