| www.delorie.com/gnu/docs/emacs-lisp-intro/emacs-lisp-intro_87.html | search |
![]() Buy the book! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
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.
The Code for insert-buffer5.2.1 The Interactive Expression in insert-bufferWhen you can read, but not write. 5.2.2 The Body of the insert-bufferFunctionThe body has an orand alet.5.2.3 insert-bufferWith anifInstead of anorUsing an ifinstead of anor.5.2.4 The orin the BodyHow the orexpression works.5.2.5 The letExpression ininsert-bufferTwo save-excursionexpressions.
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |