]> git.eshelyaron.com Git - emacs.git/commitdiff
; Remove obsolete use of inhibit-point-motion-hooks
authorYuan Fu <casouri@gmail.com>
Wed, 23 Nov 2022 03:57:44 +0000 (19:57 -0800)
committerYuan Fu <casouri@gmail.com>
Wed, 23 Nov 2022 03:57:44 +0000 (19:57 -0800)
* lisp/treesit.el (treesit-font-lock-fontify-region): Remove it.

lisp/treesit.el

index 3ea6fae4dfc228ed89a02aa2d606329f2f0ac21d..8fb6de737844cea5f2cc0714534061238aa216c0 100644 (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))