comparison lisp/buffer.el @ 219:262b8bb4a523 r20-4b8

Import from CVS: tag r20-4b8
author cvs
date Mon, 13 Aug 2007 10:09:35 +0200
parents 41ff10fd062f
children aabb7f5b1c81
comparison
equal deleted inserted replaced
218:c9f226976f56 219:262b8bb4a523
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. 37 BUFNAME may be a buffer or a buffer name and is created if did not exist.
38 Optional second arg NORECORD non-nil means 38 Optional second arg NORECORD non-nil means
39 do not put this buffer at the front of the list of recently selected ones. 39 do not put this buffer at the 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