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

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

Re: function Qs


From: Matthew Flaschen
Subject: Re: function Qs
Date: Sat, 24 Feb 2007 23:37:57 -0500
User-agent: Thunderbird 1.5.0.9 (X11/20070104)

Matthew Flaschen wrote:
> Drew Adams wrote:
>>> Are there more functions like this?  point-min?  point-end-of-line?  I
>>> don't see them documented.
>> M-x apropos point
>>
>> Command `apropos' is your friend.
>>
>> The Elisp manual, not the Emacs manual, is the reference for Emacs-Lisp
>> code. All of the functions you have asked about are explained there. Both
>> manuals are available via `C-h i'.
> 
> I searched apropos for point, and I can't find a point-end-of-line or
> equivalent.  Is there such a function?  If not, do you know a way I
> could get the full text of the current line?

I figured it out:
(buffer-substring-no-properties (line-beginning-position)
(line-end-position))

Is there a neater way?

Matt Flaschen

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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