1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00

Document 'use-default-font-for-symbols' more

"why does my set-fontset-font call not work for symbols" is a common
question, and it's because 'use-default-font-for-symbols' is not
discoverable enough.

* doc/emacs/mule.texi (Modifying Fontsets): Mention it here.
* doc/lispref/display.texi (Fontsets): And here.
* src/fontset.c (Fset_fontset_font): And most importantly here.
This commit is contained in:
Robert Pluim 2024-04-19 15:14:11 +02:00
parent 8074c08cd5
commit 45ebb66ccf
3 changed files with 9 additions and 2 deletions

View file

@ -1501,7 +1501,8 @@ CHARACTERS may be a script symbol. In that case, use FONT-SPEC for
all the characters that belong to the script. See the variable
`script-representative-chars' for the list of known scripts, and
see the variable `char-script-table' for the script of any specific
character.
character. Note: for the `symbol' script only, whether the FONTSET
is actually used depends on the value of `use-default-font-for-symbols'.
CHARACTERS may be a charset symbol. In that case, use FONT-SPEC for
all the characters in the charset. See `list-character-sets' and