aboutsummaryrefslogtreecommitdiffstats
path: root/src/intervals.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intervals.c')
-rw-r--r--src/intervals.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intervals.c b/src/intervals.c
index 21e60c96d3f..fecd1d181dc 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;