From: Yuan Fu Date: Wed, 23 Nov 2022 03:57:44 +0000 (-0800) Subject: ; Remove obsolete use of inhibit-point-motion-hooks X-Git-Tag: emacs-29.0.90~1581 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=17ed39cc8da1681bffc67907d3a76ef3d75917fd;p=emacs.git ; Remove obsolete use of inhibit-point-motion-hooks * lisp/treesit.el (treesit-font-lock-fontify-region): Remove it. --- diff --git a/lisp/treesit.el b/lisp/treesit.el index 3ea6fae4dfc..8fb6de73784 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -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))