From 8cfb4e35da4b7ffa84c521e28fd592c40209d04e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 26 Jan 2025 17:50:34 +0200 Subject: [PATCH] ; Fix last change * lisp/disp-table.el (display-table-slot) (set-display-table-slot): * etc/NEWS: * doc/lispref/display.texi (Display Tables): Fix punctuation and typos. --- doc/lispref/display.texi | 4 ++-- etc/NEWS | 15 +++++++-------- lisp/disp-table.el | 4 ++-- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 39f182995c0..3bf9f3bd2ac 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -8727,7 +8727,7 @@ the single-line tty menu separator. The glyphs for a double-line border, in the order of vertical, horizontal, down-right edge, down-left edge, up-right, and up-left edge -glyphs. The horizontal glyph is also used for the single-line tty menu +glyphs. The horizontal glyph is also used for the single-line TTY menu separator, the other glyphs are not yet used. @end table @@ -8766,7 +8766,7 @@ Valid slot name symbols are @code{truncation}, @code{wrap}, @code{box-down-right}, @code{box-down-left}, @code{box-up-right}, @code{box-up-left}, @code{box-double-vertical}, @code{box-double-horizontal}, @code{box-double-down-right}, -@code{box-double-down-left}, @code{box-double-down-left}, +@code{box-double-down-left}, @code{box-double-up-right}, @code{box-double-up-left}. @defun describe-display-table display-table diff --git a/etc/NEWS b/etc/NEWS index 1bea343d079..249fcafd5cd 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -48,16 +48,15 @@ init file. * Changes in Emacs 31.1 +++ -** standard-display-table now has more extra slots - -standard-display-table has been extended to allow specifying glyphs that -are used for borders around child frames and menu separators on TTY +** 'standard-display-table' now has more extra slots. +'standard-display-table' has been extended to allow specifying glyphs +that are used for borders around child frames and menu separators on TTY frames. -Call function standard-display-unicode-special-glyphs to set up the -standard-display-table's extra slots with Unicode characters. Please -see the documentation of that function to see which slots of the display -table it changes. +Call the function 'standard-display-unicode-special-glyphs' to set up +the 'standard-display-table's extra slots with Unicode characters. +Please see the documentation of that function to see which slots of the +display table it changes. ** Child frames are now supported on TTY frames. This supports use-cases like Posframe, Corfu, and child frames acting diff --git a/lisp/disp-table.el b/lisp/disp-table.el index 738887d0d00..afce22deb85 100644 --- a/lisp/disp-table.el +++ b/lisp/disp-table.el @@ -70,7 +70,7 @@ Valid symbols are `truncation', `wrap', `escape', `control', `box-horizontal', `box-down-right', `box-down-left', `box-up-right', `box-up-left',`box-double-vertical', `box-double-horizontal', `box-double-down-right', `box-double-down-left', -`box-double-up-left', `box-double-up-left'," +`box-double-up-right', `box-double-up-left'," (let ((slot-number (if (numberp slot) slot (or (get slot 'display-table-slot) @@ -86,7 +86,7 @@ Valid symbols are `truncation', `wrap', `escape', `control', `box-horizontal', `box-down-right', `box-down-left', `box-up-right', `box-up-left',`box-double-vertical', `box-double-horizontal', `box-double-down-right', `box-double-down-left', -`box-double-up-left', `box-double-up-left'," +`box-double-up-right', `box-double-up-left'," (let ((slot-number (if (numberp slot) slot (or (get slot 'display-table-slot)