mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Fix treesit-query-validate problem with view-mode
* lisp/treesit.el (treesit-query-validate): Move the (view-mode) into the correct scope.
This commit is contained in:
parent
1fc7535546
commit
69f2c71135
1 changed files with 2 additions and 2 deletions
|
|
@ -2037,8 +2037,8 @@ to the offending pattern and highlight the pattern."
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(insert (format "%s: %d\n" message start))
|
(insert (format "%s: %d\n" message start))
|
||||||
(forward-char start)))
|
(forward-char start)))
|
||||||
(pop-to-buffer buf)))))
|
(pop-to-buffer buf)
|
||||||
(view-mode))
|
(view-mode))))))
|
||||||
|
|
||||||
;;; Explorer
|
;;; Explorer
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue