[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix for RC
From: |
Gerd Moellmann |
Subject: |
Fix for RC |
Date: |
04 Aug 2002 14:22:32 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
The fix below should probably also go into RC, if the branch is still
in use. Could someone please install it, if necessary?
2002-08-03 Gerd Moellmann <address@hidden>
* xdisp.c (forward_to_next_line_start): Fix a condition that
lead to a newline being skipped.
Index: xdisp.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xdisp.c,v
retrieving revision 1.774
retrieving revision 1.775
diff -c -r1.774 -r1.775
*** xdisp.c 25 Jul 2002 03:19:08 -0000 1.774
--- xdisp.c 3 Aug 2002 12:44:18 -0000 1.775
***************
*** 3876,3882 ****
/* If we didn't find a newline near enough, see if we can use a
short-cut. */
! if (n == MAX_NEWLINE_DISTANCE)
{
int start = IT_CHARPOS (*it);
int limit = find_next_newline_no_quit (start, 1);
--- 3876,3882 ----
/* If we didn't find a newline near enough, see if we can use a
short-cut. */
! if (!newline_found_p)
{
int start = IT_CHARPOS (*it);
int limit = find_next_newline_no_quit (start, 1);
- Fix for RC,
Gerd Moellmann <=