emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/textprop.c,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/src/textprop.c,v
Date: Wed, 28 Jun 2006 00:02:57 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      06/06/28 00:02:57

Index: textprop.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/textprop.c,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -b -r1.147 -r1.148
--- textprop.c  14 May 2006 21:55:34 -0000      1.147
+++ textprop.c  28 Jun 2006 00:02:57 -0000      1.148
@@ -1787,8 +1787,12 @@
        /* PROP is rear-non-sticky.  */
        is_rear_sticky = 0;
     }
+  else
+    return 0;
 
   /* Consider following character.  */
+  /* This signals an arg-out-of-range error if pos is outside the
+     buffer's accessible range.  */
   front_sticky = Fget_text_property (pos, Qfront_sticky, buffer);
 
   if (EQ (front_sticky, Qt)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]