]> git.eshelyaron.com Git - emacs.git/commit
Disable auto compositions on the Linux console only
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 18 Aug 2021 14:24:40 +0000 (16:24 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 18 Aug 2021 14:24:40 +0000 (16:24 +0200)
commit15a8026cafad4a61a2ba5554c1a3e999244e412c
tree81cabc61397a1f71786b46e4dd10c5247efbedbf
parent3a1d713c19147a0eeb4829a8d3815e3292cbf1f3
Disable auto compositions on the Linux console only

* lisp/term/linux.el (terminal-init-linux): Disable auto
compositions on "linux" consoles (bug#21363).

* src/composite.c (inhibit_auto_composition): New function to
implement this.
(composition_compute_stop_pos, composition_adjust_point)
(Ffind_composition_internal): Use it.
(syms_of_composite): Document it.

* src/lisp.h: Export tty_type_name.

* src/term.c (tty_type_name): Factored out.
(Ftty_type): Use it.
lisp/term/linux.el
src/composite.c
src/lisp.h
src/term.c