From 6ad0f04d224788678cc964d3fb9b2c521fa66cf7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C3=A1roly=20L=C5=91rentey?= Date: Wed, 30 Nov 2005 13:18:56 +0000 Subject: [PATCH] (Fpop_to_buffer): Remove superfluous call to record_buffer. --- src/ChangeLog | 4 ++++ src/buffer.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 79f14cb7e15..bb2a0b6baca 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-11-30 L$,1 q(Brentey K,Aa(Broly + + * buffer.c (Fpop_to_buffer): Remove superfluous call to record_buffer. + 2005-11-30 Kim F. Storm * alloc.c: Include fcntl.h. Define O_WRONLY if not defined. diff --git a/src/buffer.c b/src/buffer.c index 5e304d5a1bb..a20f6a2d683 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1722,9 +1722,6 @@ do not put this buffer at the front of the list of recently selected ones. */) } } Fset_buffer (buf); - if (NILP (norecord)) - /* Why bother ? Fselect_window will do it for us anyway. -stef */ - record_buffer (buf); Fselect_window (Fdisplay_buffer (buf, other_window, Qnil), norecord); return buf; } -- 2.39.5