diff options
| author | Chong Yidong | 2006-05-23 00:49:55 +0000 |
|---|---|---|
| committer | Chong Yidong | 2006-05-23 00:49:55 +0000 |
| commit | 594a1605cd54c3d65dd373b6b4118765398b2aed (patch) | |
| tree | abc77350a14f88e7e5edd7af41a6d3cbad933c04 /src | |
| parent | 8e6ea7a32117a8948dfd0f3acd0bd2beaa806728 (diff) | |
| download | emacs-594a1605cd54c3d65dd373b6b4118765398b2aed.tar.gz emacs-594a1605cd54c3d65dd373b6b4118765398b2aed.zip | |
Update comments.
Diffstat (limited to 'src')
| -rw-r--r-- | src/intervals.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intervals.c b/src/intervals.c index e69ff701387..20c4c191a93 100644 --- a/src/intervals.c +++ b/src/intervals.c | |||
| @@ -2016,6 +2016,10 @@ set_point_both (buffer, charpos, bytepos) | |||
| 2016 | register INTERVAL to, from, toprev, fromprev; | 2016 | register INTERVAL to, from, toprev, fromprev; |
| 2017 | int buffer_point; | 2017 | int buffer_point; |
| 2018 | int old_position = BUF_PT (buffer); | 2018 | int old_position = BUF_PT (buffer); |
| 2019 | /* This ensures that we move forward past intangible text when the | ||
| 2020 | initial position is the same as the destination, in the rare | ||
| 2021 | instances where this is important, e.g. in line-move-finish | ||
| 2022 | (simple.el). */ | ||
| 2019 | int backwards = (charpos < old_position ? 1 : 0); | 2023 | int backwards = (charpos < old_position ? 1 : 0); |
| 2020 | int have_overlays; | 2024 | int have_overlays; |
| 2021 | int original_position; | 2025 | int original_position; |