aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2012-12-25 12:46:23 +0100
committerJoakim Verona2012-12-25 12:46:23 +0100
commite5dd24f0774c238b08021fda22502245aa946a41 (patch)
tree6dacef17e98134acd1f06906386bae433e865ef2 /src
parent8142ca4454a8746d194a231995476786f40826ef (diff)
parent9a0d4f34c6575556260d67f97bbb88a9ef757081 (diff)
downloademacs-e5dd24f0774c238b08021fda22502245aa946a41.tar.gz
emacs-e5dd24f0774c238b08021fda22502245aa946a41.zip
auto upstream
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/xdisp.c1
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cb799f627d1..92ce2f795d9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12012-12-25 Dmitry Antipov <dmantipov@yandex.ru>
2
3 * xdisp.c (redisplay_window): Remove inner local variable
4 because the outer shadowed one has the same meaning.
5
12012-12-24 Dmitry Antipov <dmantipov@yandex.ru> 62012-12-24 Dmitry Antipov <dmantipov@yandex.ru>
2 7
3 * buffer.h (BUF_COMPACT): New macro to follow the common style. 8 * buffer.h (BUF_COMPACT): New macro to follow the common style.
@@ -94,7 +99,7 @@
94 (charpos_to_bytepos): Remove. 99 (charpos_to_bytepos): Remove.
95 * fileio.c (Finsert_file_contents): Use move_gap_both. 100 * fileio.c (Finsert_file_contents): Use move_gap_both.
96 * search.c (Freplace_match): Likewise. 101 * search.c (Freplace_match): Likewise.
97 * process.c (process_send_region): Likewise. Use convenient 102 * process.c (process_send_region): Likewise. Use convenient
98 names for byte positions. 103 names for byte positions.
99 * lisp.h (charpos_to_bytepos): Remove prototype. 104 * lisp.h (charpos_to_bytepos): Remove prototype.
100 * indent.c (scan_for_column): Use CHAR_TO_BYTE. 105 * indent.c (scan_for_column): Use CHAR_TO_BYTE.
diff --git a/src/xdisp.c b/src/xdisp.c
index 62caf4d3e2e..26d41a42cc8 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -15710,7 +15710,6 @@ redisplay_window (Lisp_Object window, int just_this_one_p)
15710 /* Some people insist on not letting point enter the scroll 15710 /* Some people insist on not letting point enter the scroll
15711 margin, even though this part handles windows that didn't 15711 margin, even though this part handles windows that didn't
15712 scroll at all. */ 15712 scroll at all. */
15713 struct frame *f = XFRAME (w->frame);
15714 int margin = min (scroll_margin, WINDOW_TOTAL_LINES (w) / 4); 15713 int margin = min (scroll_margin, WINDOW_TOTAL_LINES (w) / 4);
15715 int pixel_margin = margin * FRAME_LINE_HEIGHT (f); 15714 int pixel_margin = margin * FRAME_LINE_HEIGHT (f);
15716 bool header_line = WINDOW_WANTS_HEADER_LINE_P (w); 15715 bool header_line = WINDOW_WANTS_HEADER_LINE_P (w);