comparison src/buffer.c @ 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 e93aafd2c52b
children a4a1c5b73301 1955a4462bf9
comparison
equal deleted inserted replaced
67219:7dc296b93149 67220:fb6bed3fabd5
1720 buf = Fget_buffer_create (buffer); 1720 buf = Fget_buffer_create (buffer);
1721 Fset_buffer_major_mode (buf); 1721 Fset_buffer_major_mode (buf);
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 }
1731 1728
1732 DEFUN ("current-buffer", Fcurrent_buffer, Scurrent_buffer, 0, 0, 0, 1729 DEFUN ("current-buffer", Fcurrent_buffer, Scurrent_buffer, 0, 0, 0,