From 588728344d5fe74ed583f764a458603913f68c31 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 7 Aug 2011 15:40:08 -0400 Subject: [PATCH] * composite.c (autocmp_chars): Don't reset point. That is done by restore_point_unwind (Bug#5984). --- src/ChangeLog | 5 +++++ src/composite.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index ef4efb0ad35..ddd580fcc4c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-08-07 Chong Yidong + + * composite.c (autocmp_chars): Don't reset point. That is done by + restore_point_unwind (Bug#5984). + 2011-08-07 Juri Linkov * editfns.c (Fformat_time_string): Doc fix, add tag `usage:' diff --git a/src/composite.c b/src/composite.c index d402d5ad0c4..3308a028042 100644 --- a/src/composite.c +++ b/src/composite.c @@ -960,8 +960,6 @@ autocmp_chars (Lisp_Object rule, EMACS_INT charpos, EMACS_INT bytepos, EMACS_INT args[4] = font_object; args[5] = string; lgstring = safe_call (6, args); - if (NILP (string)) - TEMP_SET_PT_BOTH (pt, pt_byte); } return unbind_to (count, lgstring); } -- 2.39.2