diff options
author | Po Lu <luangruo@yahoo.com> | 2022-01-15 18:18:34 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-01-15 18:20:15 +0800 |
commit | 7a679953e22ada9df02b181b872b9e56bbfd0f07 (patch) | |
tree | 58af1eb495e2f3dbdb2a6376644e279dc61adef5 /test/lisp/emacs-lisp/lisp-mnt-tests.el | |
parent | 3b27edd5f5fe4f9f45f1dd54ec24dcc6181ddca9 (diff) | |
download | emacs-7a679953e22ada9df02b181b872b9e56bbfd0f07.tar.gz emacs-7a679953e22ada9df02b181b872b9e56bbfd0f07.tar.bz2 emacs-7a679953e22ada9df02b181b872b9e56bbfd0f07.zip |
Prevent pre-edit overlay text from being displayed after a command
This works around buggy input methods causing the overlay to be
displayed alongside newly inserted text for a brief period.
* lisp/term/x-win.el (x-clear-preedit-text): New function.
(x-preedit-text): Add said function to pre-command-hook. It
will remove itself when triggered.
Diffstat (limited to 'test/lisp/emacs-lisp/lisp-mnt-tests.el')
0 files changed, 0 insertions, 0 deletions