All Manuals > LispWorks Editor User Guide > 6 Advanced Features > 6.3 Programming the editor > 6.3.3 Buffers

NextPrevUpTopContentsIndex

6.3.3.2 Buffer operations

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:buffer-name

Function

editor:buffer-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:buffer-point

Function

editor:buffer-point buffer

Returns the current point in 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 (Windows version) - 3 May 2011

NextPrevUpTopContentsIndex