Go to the first, previous, next, last section, table of contents.


Buffer Contents

Function: get-char &optional pos buffer
Returns the character at position pos (or the cursor position) in the specified buffer.

Function: set-char character &optional pos buffer
Sets the character at position pos (or the cursor) in the buffer buffer (or the current buffer) to the character character, then returns character.

Function: copy-area start-pos end-pos &optional buffer
This function creates and returns a string containing the contents of the buffer buffer (or the current buffer) between the two positions start-pos (inclusive) and end-pos (exclusive).

Function: copy-block
If a block is marked in the current window returns a string containing the text marked then unmark the block, otherwise returns nil.

If the marked block is rectangular the copy-rect function (see section Rectangular Editing is used to get the string.

Function: clear-buffer &optional buffer
Removes all text from the specified buffer. No precautions are taken against losing any unsaved modifications that the buffer might contain!


Go to the first, previous, next, last section, table of contents.