projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5075d75
)
Use OUT-DIR in treesit-install-language-grammar (bug#64295)
author
Yuan Fu
<casouri@gmail.com>
Thu, 29 Jun 2023 18:27:37 +0000
(11:27 -0700)
committer
Yuan Fu
<casouri@gmail.com>
Thu, 29 Jun 2023 18:28:18 +0000
(11:28 -0700)
* lisp/treesit.el (treesit-install-language-grammar): Use out-dir.
lisp/treesit.el
patch
|
blob
|
history
diff --git
a/lisp/treesit.el
b/lisp/treesit.el
index df13dd9f424bfd65c2f128fbbd9235b0c76b4177..81920834329d38718e0314e8e603116cb167a6bb 100644
(file)
--- a/
lisp/treesit.el
+++ b/
lisp/treesit.el
@@
-3094,8
+3094,7
@@
nil, the grammar is installed to the standard location, the
(condition-case err
(progn
(apply #'treesit--install-language-grammar-1
- ;; The nil is OUT-DIR.
- (cons nil recipe))
+ (cons out-dir recipe))
;; Check that the installed language grammar is loadable.
(pcase-let ((`(,available . ,err)