changeset 51121:e8c521db7bea

(get_local_map): Don't get char-property of previous point any more: get_pos_property already does it and better.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 21 May 2003 16:39:49 +0000
parents cffda7113dd1
children e45cf4a107cd
files src/intervals.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/intervals.c	Wed May 21 15:55:52 2003 +0000
+++ b/src/intervals.c	Wed May 21 16:39:49 2003 +0000
@@ -2335,10 +2335,6 @@
   BUF_BEGV_BYTE (buffer) = BUF_BEG_BYTE (buffer);
   BUF_ZV_BYTE (buffer) = BUF_Z_BYTE (buffer);
 
-  /* There are no properties at the end of the buffer, so in that case
-     check for a local map on the last character of the buffer instead.  */
-  if (position == BUF_Z (buffer) && BUF_Z (buffer) > BUF_BEG (buffer))
-    --position;
   XSETFASTINT (lispy_position, position);
   XSETBUFFER (lispy_buffer, buffer);
   /* First check if the CHAR has any property.  This is because when