; Fix docs of glyphless-character display

* etc/NEWS: Update "glyphless character" entries.

* doc/lispref/display.texi (Glyphless Chars): The extra slot of
the char-table can now use a cons cell.
This commit is contained in:
Eli Zaretskii 2022-08-28 17:40:49 +03:00
parent df2f6fb7fc
commit c8c3cd3b08
2 changed files with 3 additions and 1 deletions

View file

@ -8563,7 +8563,7 @@ square brackets, @samp{[]}.
The char-table has one extra slot, which determines how to display any
character that cannot be displayed with any available font, or cannot
be encoded by the terminal's coding system. Its value should be one
of the above display methods, except @code{zero-width} or a cons cell.
of the above display methods, except @code{zero-width}.
If a character has a non-@code{nil} entry in an active display table,
the display table takes effect; in this case, Emacs does not consult

View file

@ -1532,11 +1532,13 @@ completion, and adds the Emoji into the search string.
This allows an easy way to toggle seeing all glyphless characters in
the current buffer.
+++
*** The extra slot of 'glyphless-char-display' can now have cons values.
The extra slot of the 'glyphless-char-display' char-table can now have
values that are cons cells, specifying separate values for text-mode
and GUI terminals.
---
*** "Replacement character" feature for undisplayable characters on TTYs.
The 'acronym' method of displaying glyphless characters on text-mode
frames treats single-character acronyms specially: they are displayed