[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/src keyboard.c
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] emacs/src keyboard.c |
Date: |
Fri, 25 Dec 2009 05:27:03 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Kenichi Handa <handa> 09/12/25 05:27:03
Modified files:
src : keyboard.c
Log message:
(command_loop_1): Fix previous change.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/keyboard.c?cvsroot=emacs&r1=1.1025&r2=1.1026
Patches:
Index: keyboard.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/keyboard.c,v
retrieving revision 1.1025
retrieving revision 1.1026
diff -u -b -r1.1025 -r1.1026
--- keyboard.c 25 Dec 2009 02:41:59 -0000 1.1025
+++ keyboard.c 25 Dec 2009 05:27:03 -0000 1.1026
@@ -1978,9 +1978,11 @@
&& NILP (Vdisable_point_adjustment)
&& NILP (Vglobal_disable_point_adjustment))
{
- if (composition_adjust_point (last_point_position,
+ if (last_point_position > BEGV
+ && last_point_position < ZV
+ && (composition_adjust_point (last_point_position,
last_point_position)
- != last_point_position)
+ != last_point_position))
/* The last point was temporarily set within a grapheme
cluster to prevent automatic composition. To recover
the automatic composition, we must update the