|
From: | Stefan Monnier |
Subject: | Re: [Emacs-diffs] master 3f2bfe9 4/4: Keep nxml-prolog-end up to date (Bug#18871) |
Date: | Tue, 04 Jun 2019 09:35:20 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> +(defun nxml-maybe-rescan-prolog (start _end _length) > + "Reparse the prolog if START lies within it. > +`nxml-mode' adds this function on `after-change-functions'." > + (when (<= start nxml-prolog-end) > + (save-excursion > + (nxml-scan-prolog)))) Can't this be called from the syntax-propertize-function instead of the after-change-functions? Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |