]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix treesit-install-language-grammar (bug#66673)
authornverno <noah.v.peart@gmail.com>
Sun, 22 Oct 2023 02:54:10 +0000 (19:54 -0700)
committerYuan Fu <casouri@gmail.com>
Sun, 22 Oct 2023 03:39:30 +0000 (20:39 -0700)
* lisp/treesit.el (treesit-install-language-grammar): Take out the
language symbol when storing the recipe.

lisp/treesit.el

index fa375282d7c89006eebc3132053ed7c519f11e6c..18a6131b71d5cc7d083768addf64dd4029d6520a 100644 (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