changeset 67220:fb6bed3fabd5

(Fpop_to_buffer): Remove superfluous call to record_buffer.
author Károly Lőrentey <lorentey@elte.hu>
date Wed, 30 Nov 2005 13:18:56 +0000
parents 7dc296b93149
children 95525fb6747f
files src/ChangeLog src/buffer.c
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Nov 30 09:56:08 2005 +0000
+++ b/src/ChangeLog	Wed Nov 30 13:18:56 2005 +0000
@@ -1,3 +1,7 @@
+2005-11-30  L$,1 q(Brentey K,Aa(Broly  <lorentey@elte.hu>
+
+        * buffer.c (Fpop_to_buffer): Remove superfluous call to record_buffer.
+
 2005-11-30  Kim F. Storm  <storm@cua.dk>
 
 	* alloc.c: Include fcntl.h.  Define O_WRONLY if not defined.
--- a/src/buffer.c	Wed Nov 30 09:56:08 2005 +0000
+++ b/src/buffer.c	Wed Nov 30 13:18:56 2005 +0000
@@ -1722,9 +1722,6 @@
 	}
     }
   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;
 }