From: Károly Lőrentey Date: Wed, 30 Nov 2005 13:18:56 +0000 (+0000) Subject: (Fpop_to_buffer): Remove superfluous call to record_buffer. X-Git-Tag: emacs-pretest-22.0.90~5588 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6ad0f04d224788678cc964d3fb9b2c521fa66cf7;p=emacs.git (Fpop_to_buffer): Remove superfluous call to record_buffer. --- 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; }