* Re: [Emacs-diffs] master c1d18b1: Tidy up fix to debbugs#20240.
[not found] ` <E1YellB-0008Ct-C2@vcs.savannah.gnu.org>
@ 2015-04-06 3:55 ` Stefan Monnier
0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2015-04-06 3:55 UTC (permalink / raw)
To: emacs-devel; +Cc: Alan Mackenzie
> - (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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-06 3:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20150405144249.31512.26967@vcs.savannah.gnu.org>
[not found] ` <E1YellB-0008Ct-C2@vcs.savannah.gnu.org>
2015-04-06 3:55 ` [Emacs-diffs] master c1d18b1: Tidy up fix to debbugs#20240 Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.