diff options
| author | Yuan Fu | 2023-06-29 11:27:37 -0700 |
|---|---|---|
| committer | Yuan Fu | 2023-06-29 11:28:18 -0700 |
| commit | 361bf8a1132724516bf7e01d5f91510ffec83991 (patch) | |
| tree | f97d2789ba9dab7b08880a3c10fe5aa23f2fed70 | |
| parent | 5075d752773c31d959272a7e2b73b1dc38ba184c (diff) | |
| download | emacs-361bf8a1132724516bf7e01d5f91510ffec83991.tar.gz emacs-361bf8a1132724516bf7e01d5f91510ffec83991.zip | |
Use OUT-DIR in treesit-install-language-grammar (bug#64295)
* lisp/treesit.el (treesit-install-language-grammar): Use out-dir.
| -rw-r--r-- | lisp/treesit.el | 3 |
1 files changed, 1 insertions, 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 | |||
| 3094 | (condition-case err | 3094 | (condition-case err |
| 3095 | (progn | 3095 | (progn |
| 3096 | (apply #'treesit--install-language-grammar-1 | 3096 | (apply #'treesit--install-language-grammar-1 |
| 3097 | ;; The nil is OUT-DIR. | 3097 | (cons out-dir recipe)) |
| 3098 | (cons nil recipe)) | ||
| 3099 | 3098 | ||
| 3100 | ;; Check that the installed language grammar is loadable. | 3099 | ;; Check that the installed language grammar is loadable. |
| 3101 | (pcase-let ((`(,available . ,err) | 3100 | (pcase-let ((`(,available . ,err) |