[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r112037: * window.c (Fscroll_other_wi
From: |
Dmitry Antipov |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r112037: * window.c (Fscroll_other_window): Use SET_PT_BOTH because both |
Date: |
Wed, 13 Mar 2013 19:41:54 +0400 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 112037
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Wed 2013-03-13 19:41:54 +0400
message:
* window.c (Fscroll_other_window): Use SET_PT_BOTH because both
character and byte positions can be obtained from marker.
modified:
src/ChangeLog
src/window.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-03-13 15:21:46 +0000
+++ b/src/ChangeLog 2013-03-13 15:41:54 +0000
@@ -2,6 +2,8 @@
* xdisp.c (init_iterator): Simplify because both character and byte
positions are either specified or -1. Add eassert. Adjust comment.
+ * window.c (Fscroll_other_window): Use SET_PT_BOTH because both
+ character and byte positions can be obtained from marker.
2013-03-13 Paul Eggert <address@hidden>
=== modified file 'src/window.c'
--- a/src/window.c 2013-03-07 04:42:59 +0000
+++ b/src/window.c 2013-03-13 15:41:54 +0000
@@ -5021,7 +5021,7 @@
++windows_or_buffers_changed;
Fset_buffer (w->buffer);
- SET_PT (marker_position (w->pointm));
+ SET_PT_BOTH (marker_position (w->pointm), marker_byte_position (w->pointm));
if (NILP (arg))
window_scroll (window, 1, 1, 1);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r112037: * window.c (Fscroll_other_window): Use SET_PT_BOTH because both,
Dmitry Antipov <=