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

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

Re: What does (looking-at "\\>") mean?


From: Wang Lei
Subject: Re: What does (looking-at "\\>") mean?
Date: Mon, 26 Jan 2009 01:51:10 +0100

I searched in elisp-info, but forgot emacs-info. :( Now, I got it.
Thanks for your all!

On 1/25/09, weber <address@hidden> wrote:
> From the emacs info on regexps:
>
> `\>'
>      matches the empty string, but only at the end of a word.  `\>'
>      matches at the end of the buffer only if the contents end with a
>      word-constituent character.
>
> HTH
> Hugo
>
> Wang Lei wrote:
>> Hi, all.
>>
>> I copied a piece of code like this:
>>
>> (defun my-indent-or-complete ()
>>   (interactive)
>>   (if (looking-at "\\>")
>>       (hippie-expand nil)
>>     (indent-for-tab-command)))
>>
>> But, I can't figure out what this "\\>" means. Could someone give me a
>> explanation ?
>>
>> Many thanks!
>>
>> --
>> Regards
>> Lei
>


-- 
Regards
Lei




reply via email to

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