|
From: | Wu XiaoGuang |
Subject: | Re: How can I use fuction "append-to-buffer"? |
Date: | Mon, 19 Aug 2002 20:33:08 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 |
It works now. Thank you! Douglas Lewan wrote:
Wu,To use "append-to-buffer" interactively simply type "M-x append-to-buffer" (where M-x is "<ESC> x" or possibly "<ALT> x").To use it in another Emacs Lisp program: 1. Determine the BUFFER that you want to append to. 2. Calculate the START and END locations in the current buffer that define the text to be appended. 3. In your defun simply write: (append-to-buffer BUFFER START END) I hope this helps.
[Prev in Thread] | Current Thread | [Next in Thread] |