From: Yuan Fu Date: Thu, 29 Jun 2023 18:27:37 +0000 (-0700) Subject: Use OUT-DIR in treesit-install-language-grammar (bug#64295) X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=361bf8a1132724516bf7e01d5f91510ffec83991;p=emacs.git Use OUT-DIR in treesit-install-language-grammar (bug#64295) * lisp/treesit.el (treesit-install-language-grammar): Use out-dir. --- 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)