[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 1098c114b74 2/2: Fix treesit-install-language-grammar (bug#6667
From: |
Yuan Fu |
Subject: |
emacs-29 1098c114b74 2/2: Fix treesit-install-language-grammar (bug#66673) |
Date: |
Sat, 21 Oct 2023 23:40:18 -0400 (EDT) |
branch: emacs-29
commit 1098c114b74a3a4289550412795ff1c8533b45f7
Author: nverno <noah.v.peart@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
Fix treesit-install-language-grammar (bug#66673)
* lisp/treesit.el (treesit-install-language-grammar): Take out the
language symbol when storing the recipe.
---
lisp/treesit.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/treesit.el b/lisp/treesit.el
index fa375282d7c..18a6131b71d 100644
--- a/lisp/treesit.el
+++ b/lisp/treesit.el
@@ -2955,7 +2955,7 @@ executable programs, such as the C/C++ compiler and
linker."
" ")))
;; If success, Save the recipe for the current session.
(setf (alist-get lang treesit-language-source-alist)
- recipe))))
+ (cdr recipe)))))
(error
(display-warning
'treesit