help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Elisp: How to get the selected text in a region?


From: Andreas Politz
Subject: Re: Elisp: How to get the selected text in a region?
Date: Mon, 10 Nov 2008 15:17:21 +0100
User-agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018)

doyoucy@gmail.com wrote:
Hi All,

Is there any lisp function that retrives the text from selected region
of a buffer? Or if I pass the value of (region-beginning) and (region-
end) to this function, then I can get the string in this region.

Can anyone help me with this?

Thanks.

buffer-substring
buffer-substring-no-properties

-ap


reply via email to

[Prev in Thread] Current Thread [Next in Thread]