diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2003-05-21 16:39:49 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2003-05-21 16:39:49 +0000 |
commit | 85c4991ba56067ab79856adaca3abd4008bbd639 (patch) | |
tree | 1f2d2986e92c4878ffe4cb7fc77caa395f563416 /src/intervals.c | |
parent | 9a4892f19ef2b270a165c8f8df40e9b7860b1e1d (diff) | |
download | emacs-85c4991ba56067ab79856adaca3abd4008bbd639.tar.gz |
(get_local_map): Don't get char-property of previous
point any more: get_pos_property already does it and better.
Diffstat (limited to 'src/intervals.c')
-rw-r--r-- | src/intervals.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/intervals.c b/src/intervals.c index a9e36f8b9b1..6ad4ae8d1e9 100644 --- a/src/intervals.c +++ b/src/intervals.c @@ -2335,10 +2335,6 @@ get_local_map (position, buffer, type) 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 |