aboutsummaryrefslogtreecommitdiffstats
path: root/src/intervals.c
diff options
context:
space:
mode:
authorMiles Bader2006-06-07 18:05:10 +0000
committerMiles Bader2006-06-07 18:05:10 +0000
commitb883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb (patch)
treede3804210a8cd955e0d3b9abc15679480930bc82 /src/intervals.c
parent885b7d0991bd4b4b8f4bd1d3cd21c18a697bbce2 (diff)
parent26c9afc3239e18b03537faaea33e3e82e28099e6 (diff)
downloademacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.tar.gz
emacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 285-296) - Update from CVS - Merge from gnus--rel--5.10 - Update from CVS: admin/FOR-RELEASE: Update refcard section. * gnus--rel--5.10 (patch 102-104) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-64
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;