emacs-pretest-bug
[Top][All Lists]
Advanced

[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




reply via email to

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