Mercurial > emacs
diff src/buffer.c @ 51048:7ac9c3bea5ea
(Fselect_window): Add optional arg `norecord'.
| author | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| date | Sat, 17 May 2003 21:17:45 +0000 |
| parents | d91f2dfe45eb |
| children | 44219a7a4ca4 |
line wrap: on
line diff
--- a/src/buffer.c Sat May 17 20:29:40 2003 +0000 +++ b/src/buffer.c Sat May 17 21:17:45 2003 +0000 @@ -1,5 +1,5 @@ /* Buffer manipulation primitives for GNU Emacs. - Copyright (C) 1985,86,87,88,89,93,94,95,97,98, 1999, 2000, 2001, 2002 + Copyright (C) 1985,86,87,88,89,93,94,95,97,98, 1999, 2000, 2001, 02, 2003 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -1661,9 +1661,9 @@ } Fset_buffer (buf); if (NILP (norecord)) - /* This seems bogus since Fselect_window will call record_buffer anyway. */ + /* Why bother ? Fselect_window will do it for us anyway. -stef */ record_buffer (buf); - Fselect_window (Fdisplay_buffer (buf, other_window, Qnil)); + Fselect_window (Fdisplay_buffer (buf, other_window, Qnil), norecord); return buf; }
