]> code.delx.au - gnu-emacs/commitdiff
(Fpop_to_buffer): Remove superfluous call to record_buffer.
authorKároly Lőrentey <lorentey@elte.hu>
Wed, 30 Nov 2005 13:18:56 +0000 (13:18 +0000)
committerKároly Lőrentey <lorentey@elte.hu>
Wed, 30 Nov 2005 13:18:56 +0000 (13:18 +0000)
src/ChangeLog
src/buffer.c

index 79f14cb7e15cc3e690bc899fb040aec7fae5085f..bb2a0b6bacadaef897316476b9ac7e1dd2ab3a22 100644 (file)
@@ -1,3 +1,7 @@
+2005-11-30  L\e$,1 q\e(Brentey K\e,Aa\e(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.
index 5e304d5a1bb1451c43ec23753996e7b1ad72171a..a20f6a2d683d320a50a9610aaf02b9a666ebea04 100644 (file)
@@ -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;
 }