diff options
| author | Stefan Monnier | 2003-05-21 16:39:49 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-05-21 16:39:49 +0000 |
| commit | cd505631a4a6e75fb45afcc7eaaa2bd80ee75f6d (patch) | |
| tree | 994cbb05fc42b1cc36fb781488ac092307288ddb /src/intervals.c | |
| parent | b99937e4aa627b98b39bfb1ecf5a34146b7b6f65 (diff) | |
| download | emacs-cd505631a4a6e75fb45afcc7eaaa2bd80ee75f6d.tar.gz emacs-cd505631a4a6e75fb45afcc7eaaa2bd80ee75f6d.zip | |
(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) | |||
| 2335 | BUF_BEGV_BYTE (buffer) = BUF_BEG_BYTE (buffer); | 2335 | BUF_BEGV_BYTE (buffer) = BUF_BEG_BYTE (buffer); |
| 2336 | BUF_ZV_BYTE (buffer) = BUF_Z_BYTE (buffer); | 2336 | BUF_ZV_BYTE (buffer) = BUF_Z_BYTE (buffer); |
| 2337 | 2337 | ||
| 2338 | /* There are no properties at the end of the buffer, so in that case | ||
| 2339 | check for a local map on the last character of the buffer instead. */ | ||
| 2340 | if (position == BUF_Z (buffer) && BUF_Z (buffer) > BUF_BEG (buffer)) | ||
| 2341 | --position; | ||
| 2342 | XSETFASTINT (lispy_position, position); | 2338 | XSETFASTINT (lispy_position, position); |
| 2343 | XSETBUFFER (lispy_buffer, buffer); | 2339 | XSETBUFFER (lispy_buffer, buffer); |
| 2344 | /* First check if the CHAR has any property. This is because when | 2340 | /* First check if the CHAR has any property. This is because when |