diff options
| author | Eli Zaretskii | 2024-05-17 10:18:35 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2024-05-17 10:18:35 +0300 |
| commit | 3dd09516c9a87f663fefde77befb7d569cbed9f0 (patch) | |
| tree | eb1641039e249ea5b7ddc1306353f5ff957bc622 /doc/lispref | |
| parent | 042b58b5ff4ac4c17e03b25fd2c367c1cf869a99 (diff) | |
| download | emacs-3dd09516c9a87f663fefde77befb7d569cbed9f0.tar.gz emacs-3dd09516c9a87f663fefde77befb7d569cbed9f0.zip | |
; Improve documentation of 'set-fontset-font'
* doc/lispref/display.texi (Fontsets):
* src/fontset.c (Fset_fontset_font): Doc fix (bug#70993).
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/display.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index c6b29e87b3a..f20064519fc 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -4015,6 +4015,14 @@ the charset @code{japanese-jisx0208}: | |||
| 4015 | (set-fontset-font t 'japanese-jisx0208 | 4015 | (set-fontset-font t 'japanese-jisx0208 |
| 4016 | (font-spec :family "Kochi Gothic")) | 4016 | (font-spec :family "Kochi Gothic")) |
| 4017 | @end smallexample | 4017 | @end smallexample |
| 4018 | |||
| 4019 | Note that this function should generally be called from the user's | ||
| 4020 | init files, and more generally before any of @var{characters} were | ||
| 4021 | displayed in the current Emacs session. That's because for some | ||
| 4022 | scripts, Emacs caches the way they are displayed, and the cached | ||
| 4023 | information includes the font used for them -- once these characters | ||
| 4024 | are displayed once, the cached font will continue to be used | ||
| 4025 | regardless of changes in the fontsets. | ||
| 4018 | @end defun | 4026 | @end defun |
| 4019 | 4027 | ||
| 4020 | @defun char-displayable-p char | 4028 | @defun char-displayable-p char |