From c8c3cd3b08c468a8bc2c93fefaaf1c6f819a0d88 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 28 Aug 2022 17:40:49 +0300 Subject: [PATCH] ; 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. --- doc/lispref/display.texi | 2 +- etc/NEWS | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2