summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-08-28 17:40:49 +0300
committerEli Zaretskii <eliz@gnu.org>2022-08-28 17:40:49 +0300
commitc8c3cd3b08c468a8bc2c93fefaaf1c6f819a0d88 (patch)
tree1d1c6cfec3a391fdd8027b9caeed5cbbfdbd496a
parentdf2f6fb7fc4b79834ae40db8be2ccdc1e4a273f1 (diff)
downloademacs-c8c3cd3b08c468a8bc2c93fefaaf1c6f819a0d88.tar.gz
; 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.
-rw-r--r--doc/lispref/display.texi2
-rw-r--r--etc/NEWS2
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index a56f467e0b5..db58cd14c63 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -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
diff --git a/etc/NEWS b/etc/NEWS
index 1317cd01283..f337381dd44 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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