Fix treesit-install-language-grammar (bug#66673)

* lisp/treesit.el (treesit-install-language-grammar): Take out the
language symbol when storing the recipe.
This commit is contained in:
nverno 2023-10-21 19:54:10 -07:00 committed by Yuan Fu
parent 491ee428c0
commit 1098c114b7
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -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