aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKároly Lőrentey2005-11-30 13:18:56 +0000
committerKároly Lőrentey2005-11-30 13:18:56 +0000
commit6ad0f04d224788678cc964d3fb9b2c521fa66cf7 (patch)
treeb3f9b21a410e90d2c14b8713d8577b21bd8e7e22 /src
parent98b53ac986feb2952e1d70693773886ef9bd0a49 (diff)
downloademacs-6ad0f04d224788678cc964d3fb9b2c521fa66cf7.tar.gz
emacs-6ad0f04d224788678cc964d3fb9b2c521fa66cf7.zip
(Fpop_to_buffer): Remove superfluous call to record_buffer.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/buffer.c3
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 @@
12005-11-30 L$,1 q(Brentey K,Aa(Broly <lorentey@elte.hu>
2
3 * buffer.c (Fpop_to_buffer): Remove superfluous call to record_buffer.
4
12005-11-30 Kim F. Storm <storm@cua.dk> 52005-11-30 Kim F. Storm <storm@cua.dk>
2 6
3 * alloc.c: Include fcntl.h. Define O_WRONLY if not defined. 7 * 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. */)
1722 } 1722 }
1723 } 1723 }
1724 Fset_buffer (buf); 1724 Fset_buffer (buf);
1725 if (NILP (norecord))
1726 /* Why bother ? Fselect_window will do it for us anyway. -stef */
1727 record_buffer (buf);
1728 Fselect_window (Fdisplay_buffer (buf, other_window, Qnil), norecord); 1725 Fselect_window (Fdisplay_buffer (buf, other_window, Qnil), norecord);
1729 return buf; 1726 return buf;
1730} 1727}