1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-24 19:03:29 +00:00

Use OUT-DIR in treesit-install-language-grammar (bug#64295)

* lisp/treesit.el (treesit-install-language-grammar): Use out-dir.
This commit is contained in:
Yuan Fu 2023-06-29 11:27:37 -07:00
parent 5075d75277
commit 361bf8a113
No known key found for this signature in database
GPG Key ID: 56E19BC57664A442

View File

@ -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)