Mercurial > emacs
changeset 4420:8113d9ba472e
(save_excursion_restore): Never make the buffer visible.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 02 Aug 1993 07:58:13 +0000 |
parents | e7348af6762b |
children | 95bb7e28d761 |
files | src/editfns.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/editfns.c Mon Aug 02 07:44:36 1993 +0000 +++ b/src/editfns.c Mon Aug 02 07:58:13 1993 +0000 @@ -312,10 +312,15 @@ Fset_marker (current_buffer->mark, tem, Fcurrent_buffer ()); unchain_marker (tem); tem = Fcdr (Fcdr (info)); +#if 0 /* We used to make the current buffer visible in the selected window + if that was true previously. That avoids some anomalies. + But it creates others, and it wasn't documented, and it is simpler + and cleaner never to alter the window/buffer connections. */ tem1 = Fcar (tem); if (!NILP (tem1) && current_buffer != XBUFFER (XWINDOW (selected_window)->buffer)) Fswitch_to_buffer (Fcurrent_buffer (), Qnil); +#endif /* 0 */ tem1 = current_buffer->mark_active; current_buffer->mark_active = Fcdr (tem);