comparison lisp/buffer.el @ 388:aabb7f5b1c81 r21-2-9

Import from CVS: tag r21-2-9
author cvs
date Mon, 13 Aug 2007 11:09:42 +0200
parents 262b8bb4a523
children a86b2b5e0111
comparison
equal deleted inserted replaced
387:f892a9d0bb8d 388:aabb7f5b1c81
32 32
33 ;;; Code: 33 ;;; Code:
34 34
35 (defun switch-to-buffer (bufname &optional norecord) 35 (defun switch-to-buffer (bufname &optional norecord)
36 "Select buffer BUFNAME in the current window. 36 "Select buffer BUFNAME in the current window.
37 BUFNAME may be a buffer or a buffer name and is created if did not exist. 37 BUFNAME may be a buffer or a buffer name and is created if it did not exist.
38 Optional second arg NORECORD non-nil means 38 Optional second arg NORECORD non-nil means do not put this buffer at the
39 do not put this buffer at the front of the list of recently selected ones. 39 front of the list of recently selected ones.
40 40
41 WARNING: This is NOT the way to work on another buffer temporarily 41 WARNING: This is NOT the way to work on another buffer temporarily
42 within a Lisp program! Use `set-buffer' instead. That avoids messing with 42 within a Lisp program! Use `set-buffer' instead. That avoids messing with
43 the window-buffer correspondences." 43 the window-buffer correspondences."
44 (interactive "BSwitch to buffer: ") 44 (interactive "BSwitch to buffer: ")