home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.emacs
- Path: sparky!uunet!mcsun!sun4nl!alchemy!piet
- From: piet@cs.ruu.nl (Piet van Oostrum)
- Subject: Re: How to get region into a string?
- Sender: network-news@cs.ruu.nl
- Message-ID: <1992Sep3.104011.24357@cs.ruu.nl>
- In-Reply-To: jrv@siemens.com. (Jim Vallino)
- Date: Thu, 3 Sep 1992 10:40:11 GMT
- Reply-To: piet@cs.ruu.nl (Piet van Oostrum)
- References: <102345@siemens.siemens.com>
- Organization: Dept of Computer Science, Utrecht University, The Netherlands
- Lines: 13
-
- >>>>> jrv@siemens.com. (Jim Vallino) (JV) writes:
-
- JV> Simple question. How do I get the region into a string in an emacs lisp
- JV> program?
-
- If you do an apropos on "string" you will find:
-
- buffer-substring
- Function: Return the contents of part of the current buffer as a string.
-
- (buffer-substring (point) (mark)) should be a good start, I think.
- --
- Piet van Oostrum <piet@cs.ruu.nl>
-