projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fc7535
)
Fix treesit-query-validate problem with view-mode
author
Theodor Thornhill
<theo@thornhill.no>
Sat, 17 Dec 2022 19:23:02 +0000
(20:23 +0100)
committer
Yuan Fu
<casouri@gmail.com>
Sat, 17 Dec 2022 23:33:55 +0000
(15:33 -0800)
* lisp/treesit.el (treesit-query-validate): Move the (view-mode) into
the correct scope.
lisp/treesit.el
patch
|
blob
|
history
diff --git
a/lisp/treesit.el
b/lisp/treesit.el
index 068c443dc2673e77f52188e90c7aeb26460d9333..16e1a16dbf40c30842f895692afd8ff87b3839f2 100644
(file)
--- a/
lisp/treesit.el
+++ b/
lisp/treesit.el
@@
-2037,8
+2037,8
@@
to the offending pattern and highlight the pattern."
(goto-char (point-min))
(insert (format "%s: %d\n" message start))
(forward-char start)))
- (pop-to-buffer buf)
))))
-
(view-mode
))
+ (pop-to-buffer buf)
+
(view-mode))))
))
;;; Explorer