projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51ee62b
)
* lisp/term/x-win.el (x-preedit-text): Make edit overlay window local.
author
Po Lu
<luangruo@yahoo.com>
Sun, 9 Jan 2022 09:50:51 +0000
(17:50 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 9 Jan 2022 09:50:51 +0000
(17:50 +0800)
lisp/term/x-win.el
patch
|
blob
|
history
diff --git
a/lisp/term/x-win.el
b/lisp/term/x-win.el
index 6b5e3964191a58c06ce6b6b565c89770dd5fc932..13b48f4611c05090beaa85d1f44e055578c2f84f 100644
(file)
--- a/
lisp/term/x-win.el
+++ b/
lisp/term/x-win.el
@@
-1530,6
+1530,7
@@
EVENT is a preedit-text event."
(setq x-preedit-overlay nil))
(when (nth 1 event)
(setq x-preedit-overlay (make-overlay (point) (point)))
+ (overlay-put x-preedit-overlay 'window (selected-window))
(overlay-put x-preedit-overlay 'before-string
(propertize (nth 1 event) 'face '(:underline t)))))