1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00

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.
This commit is contained in:
Eli Zaretskii 2021-08-18 19:10:01 +03:00
parent 15a8026caf
commit 0d5ff75e94
2 changed files with 11 additions and 2 deletions

View File

@ -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.

View File

@ -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,