]> git.eshelyaron.com Git - emacs.git/commit
Remove isearch-input-method-local-p and always set buffer-local input-method
authorJuri Linkov <juri@linkov.net>
Wed, 9 Dec 2020 19:30:47 +0000 (21:30 +0200)
committerJuri Linkov <juri@linkov.net>
Wed, 9 Dec 2020 19:30:47 +0000 (21:30 +0200)
commitb71be20eaff7b3b13c67515e7919d36ecbd7b22b
treeb67ea9ec405906a868002a5d18b4831798c155b9
parent303f0a19cc6b819dd4dc750aa278ca8563d3b64b
Remove isearch-input-method-local-p and always set buffer-local input-method

* lisp/isearch.el (isearch-input-method-local-p): Remove defvar.
(isearch-mode): Don't set isearch-input-method-local-p.
Set buffer-local input-method-function to nil.
(isearch-done): When isearch-input-method-function is still non-nil,
set the buffer-local value of input-method-function.  (Bug#45005)

* lisp/international/isearch-x.el (isearch-toggle-specified-input-method)
(isearch-toggle-input-method, isearch-transient-input-method):
Don't set isearch-input-method-local-p to t.  Set buffer-local
input-method-function to nil.

* lisp/language/korea-util.el (isearch-toggle-korean-input-method)
(isearch-hangul-switch-symbol-ksc, isearch-hangul-switch-hanja):
Don't set isearch-input-method-local-p to t.  Set buffer-local
input-method-function to nil.
lisp/international/isearch-x.el
lisp/isearch.el
lisp/language/korea-util.el