[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 7db2879: Fix the documentation of char-displayable-p
From: |
Lars Ingebrigtsen |
Subject: |
master 7db2879: Fix the documentation of char-displayable-p |
Date: |
Sat, 10 Oct 2020 21:49:45 -0400 (EDT) |
branch: master
commit 7db2879a81e21749ed9f0808fc25d48ce22939e6
Author: Robert Pluim <rpluim@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix the documentation of char-displayable-p
* doc/lispref/display.texi (Fontsets): Make the documentation of
char-displayable-p less incorrect (bug#35230).
---
doc/lispref/display.texi | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index d2e6cad..5b4b672 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -3668,12 +3668,16 @@ the charset @code{japanese-jisx0208}.
@end defun
@defun char-displayable-p char
-This function returns @code{t} if Emacs ought to be able to display
-@var{char}. More precisely, if the selected frame's fontset has a
-font to display the character set that @var{char} belongs to.
+This function returns non-@code{nil} if Emacs ought to be able to
+display @var{char}. Or more precisely, if the selected frame's fontset
+has a font to display the character set that @var{char} belongs to.
Fontsets can specify a font on a per-character basis; when the fontset
does that, this function's value may not be accurate.
+
+This function may return non-@code{nil} even when there is no font
+available, since it also checks whether the coding system for the text
+terminal can encode the character (@pxref{Terminal Coding}).
@end defun
@node Low-Level Font
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 7db2879: Fix the documentation of char-displayable-p,
Lars Ingebrigtsen <=