From 361bf8a1132724516bf7e01d5f91510ffec83991 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Thu, 29 Jun 2023 11:27:37 -0700 Subject: [PATCH] Use OUT-DIR in treesit-install-language-grammar (bug#64295) * lisp/treesit.el (treesit-install-language-grammar): Use out-dir. --- lisp/treesit.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/treesit.el b/lisp/treesit.el index df13dd9f424..81920834329 100644 --- 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) -- 2.39.2