Make treesit-query-validate create a read-only buffer
* lisp/treesit.el: use view-mode for generated validation buffer.
This commit is contained in:
parent
c0fe6c72ce
commit
4bccb7b211
1 changed files with 2 additions and 1 deletions
|
@ -1835,7 +1835,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))
|
||||||
|
|
||||||
;;; Explorer
|
;;; Explorer
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue