[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: |
Tue, 27 Jan 2009 10:20:47 +0800 |
On 1/26/09, Thierry Volpiatto <thierry.volpiatto@gmail.com> wrote:
>
> With this little function, you can understand what looking at does:
>
> Write a word in scratch buffer and leave point at end of word, then do
> M-x test-looking-at
>
> Then put the point at the beginning of word and run again test-looking-at
>
> ,----
> | (defun test-looking-at ()
> | (interactive)
> | (if (looking-at "\\>")
> | (message "There is nothing after point")
> | (message "there is something after point")))
> `----
Problem is solved.:) But, I'll remember this trick. Helpfull!
Thanks!
>
>
>
> --
> A + Thierry Volpiatto
> Location: Saint-Cyr-Sur-Mer - France
>
>
>
>
--
Regards
Lei