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

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

bug#20732: in-string-p fails


From: Dmitry Gutov
Subject: bug#20732: in-string-p fails
Date: Thu, 4 Jun 2015 12:58:58 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0

On 06/04/2015 12:27 PM, Andreas Röhler wrote:

(in-string-p) returns falsely nil, because it scans from "(defun "

See "** Font Lock displays portions of the buffer in incorrect faces." in etc/PROBLEMS.

     (let* ((erg (nth 8 (parse-partial-sexp (point-min) (point))))

This is clearly inadequate, because it discards the performance optimizations offered by `syntax-ppss'.





reply via email to

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