[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What does (looking-at "\\>") mean?
From: |
weber |
Subject: |
Re: What does (looking-at "\\>") mean? |
Date: |
Sun, 25 Jan 2009 12:07:45 -0800 (PST) |
User-agent: |
G2/1.0 |
>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