branch: externals/xeft
commit 78bf82b50716d5244068ca3790038306f4557dcb
Author: Yuan Fu <caso...@gmail.com>
Commit: Yuan Fu <caso...@gmail.com>

    * xeft.el (xeft-refresh): Remove workaround for emacs-rime.
---
 xeft.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/xeft.el b/xeft.el
index c847bcc67e..ecb590d98f 100644
--- a/xeft.el
+++ b/xeft.el
@@ -553,8 +553,7 @@ non-nil, display all results."
               (let ((start (point)))
                 (delete-region (point) (point-max))
                 (insert new-content)
-                ;; If we use (- start 2), emacs-rime cannot work.
-                (put-text-property (- start 1) (point) 'read-only t)
+                (put-text-property (- start 2) (point) 'read-only t)
                 (xeft--highlight-search-phrase)
                 (set-buffer-modified-p nil)
                 ;; If finished, update this variable.

Reply via email to