aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2025-01-26 17:50:34 +0200
committerEli Zaretskii2025-01-26 17:50:34 +0200
commit8cfb4e35da4b7ffa84c521e28fd592c40209d04e (patch)
tree0a5b9c816bce4ce1cba382498a58189285bc7c1f
parent4e78a3e117f4ca0b6b9f3b7a2d7919cb5b2e0295 (diff)
downloademacs-8cfb4e35da4b7ffa84c521e28fd592c40209d04e.tar.gz
emacs-8cfb4e35da4b7ffa84c521e28fd592c40209d04e.zip
; 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.
-rw-r--r--doc/lispref/display.texi4
-rw-r--r--etc/NEWS15
-rw-r--r--lisp/disp-table.el4
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.
8727 8727
8728The glyphs for a double-line border, in the order of vertical, 8728The glyphs for a double-line border, in the order of vertical,
8729horizontal, down-right edge, down-left edge, up-right, and up-left edge 8729horizontal, down-right edge, down-left edge, up-right, and up-left edge
8730glyphs. The horizontal glyph is also used for the single-line tty menu 8730glyphs. The horizontal glyph is also used for the single-line TTY menu
8731separator, the other glyphs are not yet used. 8731separator, the other glyphs are not yet used.
8732@end table 8732@end table
8733 8733
@@ -8766,7 +8766,7 @@ Valid slot name symbols are @code{truncation}, @code{wrap},
8766@code{box-down-right}, @code{box-down-left}, @code{box-up-right}, 8766@code{box-down-right}, @code{box-down-left}, @code{box-up-right},
8767@code{box-up-left}, @code{box-double-vertical}, 8767@code{box-up-left}, @code{box-double-vertical},
8768@code{box-double-horizontal}, @code{box-double-down-right}, 8768@code{box-double-horizontal}, @code{box-double-down-right},
8769@code{box-double-down-left}, @code{box-double-down-left}, 8769@code{box-double-down-left}, @code{box-double-up-right},
8770@code{box-double-up-left}. 8770@code{box-double-up-left}.
8771 8771
8772@defun describe-display-table display-table 8772@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.
48* Changes in Emacs 31.1 48* Changes in Emacs 31.1
49 49
50+++ 50+++
51** standard-display-table now has more extra slots 51** 'standard-display-table' now has more extra slots.
52 52'standard-display-table' has been extended to allow specifying glyphs
53standard-display-table has been extended to allow specifying glyphs that 53that are used for borders around child frames and menu separators on TTY
54are used for borders around child frames and menu separators on TTY
55frames. 54frames.
56 55
57Call function standard-display-unicode-special-glyphs to set up the 56Call the function 'standard-display-unicode-special-glyphs' to set up
58standard-display-table's extra slots with Unicode characters. Please 57the 'standard-display-table's extra slots with Unicode characters.
59see the documentation of that function to see which slots of the display 58Please see the documentation of that function to see which slots of the
60table it changes. 59display table it changes.
61 60
62** Child frames are now supported on TTY frames. 61** Child frames are now supported on TTY frames.
63This supports use-cases like Posframe, Corfu, and child frames acting 62This 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',
70`box-horizontal', `box-down-right', `box-down-left', `box-up-right', 70`box-horizontal', `box-down-right', `box-down-left', `box-up-right',
71`box-up-left',`box-double-vertical', `box-double-horizontal', 71`box-up-left',`box-double-vertical', `box-double-horizontal',
72`box-double-down-right', `box-double-down-left', 72`box-double-down-right', `box-double-down-left',
73`box-double-up-left', `box-double-up-left'," 73`box-double-up-right', `box-double-up-left',"
74 (let ((slot-number 74 (let ((slot-number
75 (if (numberp slot) slot 75 (if (numberp slot) slot
76 (or (get slot 'display-table-slot) 76 (or (get slot 'display-table-slot)
@@ -86,7 +86,7 @@ Valid symbols are `truncation', `wrap', `escape', `control',
86`box-horizontal', `box-down-right', `box-down-left', `box-up-right', 86`box-horizontal', `box-down-right', `box-down-left', `box-up-right',
87`box-up-left',`box-double-vertical', `box-double-horizontal', 87`box-up-left',`box-double-vertical', `box-double-horizontal',
88`box-double-down-right', `box-double-down-left', 88`box-double-down-right', `box-double-down-left',
89`box-double-up-left', `box-double-up-left'," 89`box-double-up-right', `box-double-up-left',"
90 (let ((slot-number 90 (let ((slot-number
91 (if (numberp slot) slot 91 (if (numberp slot) slot
92 (or (get slot 'display-table-slot) 92 (or (get slot 'display-table-slot)