Node:insert-buffer, Next:beginning-of-buffer, Previous:copy-to-buffer, Up:More Complex
insert-buffer
insert-buffer
is yet another buffer-related function. This
command copies another buffer into the current buffer. It is the
reverse of append-to-buffer
or copy-to-buffer
, since they
copy a region of text from the current buffer to another buffer.
In addition, this code illustrates the use of interactive
with a
buffer that might be read-only and the important distinction
between the name of an object and the object actually referred to.
or
and a let
.
if
instead of an or
.
or
expression works.
save-excursion
expressions.