From 1098c114b74a3a4289550412795ff1c8533b45f7 Mon Sep 17 00:00:00 2001 From: nverno Date: Sat, 21 Oct 2023 19:54:10 -0700 Subject: [PATCH] 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 -- 2.39.2