[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 17ed39cc8d 3/3: ; Remove obsolete use of inhibit-point-motion-hoo
From: |
Yuan Fu |
Subject: |
master 17ed39cc8d 3/3: ; Remove obsolete use of inhibit-point-motion-hooks |
Date: |
Tue, 22 Nov 2022 23:00:02 -0500 (EST) |
branch: master
commit 17ed39cc8da1681bffc67907d3a76ef3d75917fd
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
; Remove obsolete use of inhibit-point-motion-hooks
* lisp/treesit.el (treesit-font-lock-fontify-region): Remove it.
---
lisp/treesit.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lisp/treesit.el b/lisp/treesit.el
index 3ea6fae4df..8fb6de7378 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))