From 70740f9c9c961f6e7ed01ab71a50a5989378e6f1 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 10 Dec 2007 07:37:12 +0000 Subject: [PATCH] (auto-compose-chars): Be sure to calculate composition at least at POS. --- lisp/composite.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/composite.el b/lisp/composite.el index 5ee62412b62..e73d9ef1ef8 100644 --- a/lisp/composite.el +++ b/lisp/composite.el @@ -489,7 +489,8 @@ This function is the default value of `auto-composition-function' (which see)." auto-compose-current-font ch func newpos) (setq limit - (or (text-property-any pos limit 'auto-composed t string) + (or (text-property-any (1+ pos) limit 'auto-composed t + string) limit) pos (catch 'tag -- 2.39.5