Mercurial > hg > xemacs-beta
diff src/window.c @ 223:2c611d1463a6 r20-4b10
Import from CVS: tag r20-4b10
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:10:54 +0200 |
parents | d44af0c54775 |
children | 677f6a0ee643 |
line wrap: on
line diff
--- a/src/window.c Mon Aug 13 10:10:03 2007 +0200 +++ b/src/window.c Mon Aug 13 10:10:54 2007 +0200 @@ -1493,7 +1493,7 @@ CHECK_INT_COERCE_MARKER (pos); if (w == XWINDOW (Fselected_window (Qnil))) - Fgoto_char (pos, Fcurrent_buffer ()); + Fgoto_char (pos, Qnil); else set_marker_restricted (w->pointm[CURRENT_DISP], pos, w->buffer); @@ -4901,7 +4901,7 @@ when the window configuration was recorded. */ if (!EQ (p->buffer, new_current_buffer) && XBUFFER (p->buffer) == current_buffer) - Fgoto_char (w->pointm[CURRENT_DISP], Fcurrent_buffer ()); + Fgoto_char (w->pointm[CURRENT_DISP], Qnil); } else if (NILP (w->buffer) || !BUFFER_LIVE_P (XBUFFER (w->buffer)))