aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2021-05-22 09:19:01 -0700
committerGlenn Morris2021-05-22 09:19:01 -0700
commit048dc9441e77e5147ddf3c2ab64ddc3ba6fa0f3a (patch)
tree959870c8081b2fd1bfbb42c66a708710c93131a0
parent35182fff407ce9e6180e50e627914d63c4f3504c (diff)
parent30e5d93ee1b938c207c4f5ec015ba2633cf423cd (diff)
downloademacs-048dc9441e77e5147ddf3c2ab64ddc3ba6fa0f3a.tar.gz
emacs-048dc9441e77e5147ddf3c2ab64ddc3ba6fa0f3a.zip
Merge from origin/emacs-27
30e5d93ee1 (origin/emacs-27) Improve documentation of display tables 8804ac857b * src/buffer.c (syms_of_buffer) <ctl-arrow>: Doc fix. (Bu...
-rw-r--r--doc/lispref/display.texi5
-rw-r--r--src/buffer.c8
2 files changed, 7 insertions, 6 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 228c940cc8b..2ed03f6471a 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -7615,7 +7615,7 @@ Chars}.
7615 The above display conventions apply even when there is a display 7615 The above display conventions apply even when there is a display
7616table, for any character whose entry in the active display table is 7616table, for any character whose entry in the active display table is
7617@code{nil}. Thus, when you set up a display table, you need only 7617@code{nil}. Thus, when you set up a display table, you need only
7618specify the characters for which you want special behavior. 7618specify the characters for which you want special display behavior.
7619 7619
7620 The following variables affect how certain characters are displayed 7620 The following variables affect how certain characters are displayed
7621on the screen. Since they change the number of columns the characters 7621on the screen. Since they change the number of columns the characters
@@ -7649,7 +7649,8 @@ command @code{tab-to-tab-stop}. @xref{Indent Tabs}.
7649(@pxref{Char-Tables}), with @code{display-table} as its subtype, which 7649(@pxref{Char-Tables}), with @code{display-table} as its subtype, which
7650is used to override the usual character display conventions. This 7650is used to override the usual character display conventions. This
7651section describes how to make, inspect, and assign elements to a 7651section describes how to make, inspect, and assign elements to a
7652display table object. 7652display table object. The next section (@pxref{Active Display Table})
7653describes the various standard display tables and their precedence.
7653 7654
7654@defun make-display-table 7655@defun make-display-table
7655This creates and returns a display table. The table initially has 7656This creates and returns a display table. The table initially has
diff --git a/src/buffer.c b/src/buffer.c
index df302db0e52..565577e75ae 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5681,10 +5681,10 @@ inserts one or more TAB characters, this variable will affect the
5681indentation step as well, even if `indent-tabs-mode' is non-nil. */); 5681indentation step as well, even if `indent-tabs-mode' is non-nil. */);
5682 5682
5683 DEFVAR_PER_BUFFER ("ctl-arrow", &BVAR (current_buffer, ctl_arrow), Qnil, 5683 DEFVAR_PER_BUFFER ("ctl-arrow", &BVAR (current_buffer, ctl_arrow), Qnil,
5684 doc: /* Non-nil means display control chars with uparrow. 5684 doc: /* Non-nil means display control chars with uparrow `^'.
5685A value of nil means use backslash and octal digits. 5685A value of nil means use backslash `\\' and octal digits.
5686This variable does not apply to characters whose display is specified 5686This variable does not apply to characters whose display is specified in
5687in the current display table (if there is one). */); 5687the current display table (if there is one; see `standard-display-table'). */);
5688 5688
5689 DEFVAR_PER_BUFFER ("enable-multibyte-characters", 5689 DEFVAR_PER_BUFFER ("enable-multibyte-characters",
5690 &BVAR (current_buffer, enable_multibyte_characters), 5690 &BVAR (current_buffer, enable_multibyte_characters),