emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 0d5ff75: Improve documentation of last change.


From: Eli Zaretskii
Subject: master 0d5ff75: Improve documentation of last change.
Date: Wed, 18 Aug 2021 12:10:56 -0400 (EDT)

branch: master
commit 0d5ff75e944e765dce0e3a93ebdefa4fb6d5f356
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    Improve documentation of last change.
    
    * etc/NEWS: Mention the string value of 'auto-composition-mode'.
    
    * src/composite.c (syms_of_composite) <auto-composition-mode>: Doc
    fix.
---
 etc/NEWS        | 9 +++++++++
 src/composite.c | 4 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index f77fc82..cc779b4 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -134,6 +134,15 @@ file:
 It used to be enabled when Emacs is started in GUI mode but not when started
 in text mode.  The cursor still only actually blinks in GUI frames.
 
+---
+** 'auto-composition-mode' can now be selectively disabled on some TTYs.
+Some text-mode terminals produce display glitches trying to compose
+characters.  The 'auto-composition-mode' can now have a string value
+that names a terminal type; if the value returned by the 'tty-type'
+function compares equal with that string, automatic composition will
+be disabled in windows shown on that terminal.  The Linux terminal
+sets this up by default.
+
 +++
 ** Etags now supports the Mercury programming language.
 See https://mercurylang.org.
diff --git a/src/composite.c b/src/composite.c
index 2bde147..e97f8e2 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -2059,8 +2059,8 @@ The default value is the function `compose-chars-after'.  
*/);
               doc: /* Non-nil if Auto-Composition mode is enabled.
 Use the command `auto-composition-mode' to change this variable.
 
-If this variable is a string, `auto-composition-mode' will be disabled
-in buffers that have a terminal type that equals this string.*/);
+If this variable is a string, `auto-composition-mode' will be disabled in
+buffers displayed on a terminal whose type compares equal to this string.  */);
   Vauto_composition_mode = Qt;
 
   DEFVAR_LISP ("auto-composition-function", Vauto_composition_function,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]