comparison src/window.c @ 46271:35153dd59211

*** empty log message ***
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 09 Jul 2002 09:46:38 +0000
parents 7b8b4ec9573c
children 3f111801efb4
comparison
equal deleted inserted replaced
46270:c64c46b334d7 46271:35153dd59211
956 struct text_pos startp; 956 struct text_pos startp;
957 struct it it; 957 struct it it;
958 struct buffer *old_buffer = NULL, *b = XBUFFER (buf); 958 struct buffer *old_buffer = NULL, *b = XBUFFER (buf);
959 959
960 /* In case W->start is out of the range, use something 960 /* In case W->start is out of the range, use something
961 reasonable. This situation occured when loading a file with 961 reasonable. This situation occurred when loading a file with
962 `-l' containing a call to `rmail' with subsequent other 962 `-l' containing a call to `rmail' with subsequent other
963 commands. At the end, W->start happened to be BEG, while 963 commands. At the end, W->start happened to be BEG, while
964 rmail had already narrowed the buffer. */ 964 rmail had already narrowed the buffer. */
965 if (XMARKER (w->start)->charpos < BEGV) 965 if (XMARKER (w->start)->charpos < BEGV)
966 SET_TEXT_POS (startp, BEGV, BEGV_BYTE); 966 SET_TEXT_POS (startp, BEGV, BEGV_BYTE);