diff options
| author | Yuan Fu | 2022-11-22 19:57:44 -0800 |
|---|---|---|
| committer | Yuan Fu | 2022-11-22 19:57:44 -0800 |
| commit | 17ed39cc8da1681bffc67907d3a76ef3d75917fd (patch) | |
| tree | 8cbccf62e47c4c9ff5521ab6ef1b8f8c5e880dda | |
| parent | d2ab1c4a9af205bbeeaf5a0b6333797c18e43f86 (diff) | |
| download | emacs-17ed39cc8da1681bffc67907d3a76ef3d75917fd.tar.gz emacs-17ed39cc8da1681bffc67907d3a76ef3d75917fd.zip | |
; Remove obsolete use of inhibit-point-motion-hooks
* lisp/treesit.el (treesit-font-lock-fontify-region): Remove it.
| -rw-r--r-- | lisp/treesit.el | 3 |
1 files changed, 1 insertions, 2 deletions
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." | |||
| 900 | sub-node query | 900 | sub-node query |
| 901 | (max (- start delta-start) (point-min)) | 901 | (max (- start delta-start) (point-min)) |
| 902 | (min (+ end delta-end) (point-max)))) | 902 | (min (+ end delta-end) (point-max)))) |
| 903 | (end-time (current-time)) | 903 | (end-time (current-time))) |
| 904 | (inhibit-point-motion-hooks t)) | ||
| 905 | ;; If for any query the query time is strangely long, | 904 | ;; If for any query the query time is strangely long, |
| 906 | ;; switch to fast mode (see comments above). | 905 | ;; switch to fast mode (see comments above). |
| 907 | (when (> (time-to-seconds (time-subtract end-time start-time)) | 906 | (when (> (time-to-seconds (time-subtract end-time start-time)) |