[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backward-up-list
From: |
Stefan Monnier |
Subject: |
Re: backward-up-list |
Date: |
Sat, 14 Oct 2006 15:43:02 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> (while (in-string-p)
> (backward-char 1))
That's the way a snail would do it,
(goto-char (or (nth 8 (syntax-ppss)) (point)))
would be faster and solve the same problem with comments at the same time.
Stefan
Re: backward-up-list, Richard Stallman, 2006/10/15