; Remove obsolete use of inhibit-point-motion-hooks

* lisp/treesit.el (treesit-font-lock-fontify-region): Remove it.
This commit is contained in:
Yuan Fu 2022-11-22 19:57:44 -08:00
parent d2ab1c4a9a
commit 17ed39cc8d
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -900,8 +900,7 @@ If LOUDLY is non-nil, display some debugging information."
sub-node query
(max (- start delta-start) (point-min))
(min (+ end delta-end) (point-max))))
(end-time (current-time))
(inhibit-point-motion-hooks t))
(end-time (current-time)))
;; If for any query the query time is strangely long,
;; switch to fast mode (see comments above).
(when (> (time-to-seconds (time-subtract end-time start-time))