[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 9f31fb2: * lisp/progmodes/js.el (js-mode): Don'
From: |
Daniel Colascione |
Subject: |
Re: [Emacs-diffs] master 9f31fb2: * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize. |
Date: |
Fri, 21 Aug 2015 20:09:22 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 |
On 08/21/2015 06:03 AM, Stefan Monnier wrote:
> branch: master
> commit 9f31fb2a660a26ba510568fae102afc68db8f385
> Author: Stefan Monnier <address@hidden>
> Commit: Stefan Monnier <address@hidden>
>
> * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
> ---
> lisp/progmodes/js.el | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
> index 40a4a10..98a22dd 100644
> --- a/lisp/progmodes/js.el
> +++ b/lisp/progmodes/js.el
> @@ -3560,9 +3560,10 @@ If one hasn't been set, or if it's stale,
prompt for a new one."
> ;; the buffer containing the problem, JIT-lock will apply the
> ;; correct syntax to the regular expression literal and the problem
> ;; will mysteriously disappear.
> - ;; FIXME: We should actually do this fontification lazily by adding
> + ;; FIXME: We should instead do this fontification lazily by adding
> ;; calls to syntax-propertize wherever it's really needed.
> - (syntax-propertize (point-max)))
> + ;;(syntax-propertize (point-max))
> + )
>
That call is needed for correctness, as I recall. Are you replacing it
with something?
signature.asc
Description: OpenPGP digital signature
- Re: [Emacs-diffs] master 9f31fb2: * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.,
Daniel Colascione <=