emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master c1d18b1: Tidy up fix to debbugs#20240.


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master c1d18b1: Tidy up fix to debbugs#20240.
Date: Sun, 05 Apr 2015 23:55:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> -          (save-restriction
> -         (widen)
> -         (run-hook-with-args 'jit-lock-after-change-extend-region-functions
> -                             start end old-len)
> -         ;; Make sure we change at least one char (in case of deletions).
> -         (setq jit-lock-end (min (max jit-lock-end (1+ start)) (point-max)))
> -         ;; Request refontification.
> -         (put-text-property jit-lock-start jit-lock-end 'fontified nil)))
> +       (run-hook-with-args 'jit-lock-after-change-extend-region-functions
> +                        start end old-len)
> +       ;; Make sure we change at least one char (in case of deletions).
> +       (setq jit-lock-end (min (max jit-lock-end (1+ start)) (point-max)))
> +       ;; Request refontification.
> +       (save-restriction
> +      (widen)
> +      (put-text-property jit-lock-start jit-lock-end 'fontified nil)))

Thanks, Alan,


        Stefan



reply via email to

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