(auto-compose-chars): Be sure to calculate
authorKenichi Handa <handa@m17n.org>
Mon, 10 Dec 2007 07:37:12 +0000 (07:37 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 10 Dec 2007 07:37:12 +0000 (07:37 +0000)
composition at least at POS.

lisp/composite.el

index 5ee6241..e73d9ef 100644 (file)
@@ -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