[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 361bf8a1132: Use OUT-DIR in treesit-install-language-grammar (bug
From: |
Yuan Fu |
Subject: |
master 361bf8a1132: Use OUT-DIR in treesit-install-language-grammar (bug#64295) |
Date: |
Thu, 29 Jun 2023 15:03:23 -0400 (EDT) |
branch: master
commit 361bf8a1132724516bf7e01d5f91510ffec83991
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 361bf8a1132: Use OUT-DIR in treesit-install-language-grammar (bug#64295),
Yuan Fu <=