From: nverno Date: Sun, 22 Oct 2023 02:54:10 +0000 (-0700) Subject: Fix treesit-install-language-grammar (bug#66673) X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1098c114b74a3a4289550412795ff1c8533b45f7;p=emacs.git Fix treesit-install-language-grammar (bug#66673) * lisp/treesit.el (treesit-install-language-grammar): Take out the language symbol when storing the recipe. --- 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