NextPrevUpTopContentsIndex

6.3.2 Buffers

editor:*buffer-list*

Variable

Contains a list of all the buffers in the editor.

editor:current-buffer

Function

editor:current-buffer

Returns the current buffer.

editor:buffers-name

Function

editor:buffers-name buffer

Returns the name of buffer .

editor:window-buffer

Function

editor:window-buffer window

Returns the buffer currently associated with window .

editor:buffers-start

Function

editor:buffers-start buffer

Returns the starting point of buffer .

editor:buffers-end

Function

editor:buffers-end buffer

Returns the end point of buffer .

editor:use-buffer

Macro

editor:use-buffer buffer &body forms

Makes buffer the current buffer during the evaluation of forms .

editor:buffer-from-name

Function

editor:buffer-from-name name

Returns the buffer called name (which should be a string). If there is no buffer with that name, nil is returned.

editor:make-buffer

Function

editor:make-buffer name &key modes

Creates a new buffer called name . The argument modes is a list of modes for the new buffer. The default value for modes is Fundamental . The newly-created buffer is returned.

editor:goto-buffer

Function

editor:goto-buffer buffer in-same-window

Makes buffer the current buffer. If buffer is currently being shown in a window then the cursor is moved there. If buffer is not currently in a window and in-same-window is non- nil then it is shown in the current window, otherwise a new window is created for it.


LispWorks Editor User Guide (Macintosh version) - 23 Feb 2006

NextPrevUpTopContentsIndex