Subject: emacs-29; [PATCH] * lisp/treesit.el (treesit): Fix shortdoc example form.
From: Aleksandr Vityazev <[email-masked]>
To: [email-masked]
Date: Mon, 06 Feb 2023 10:49:08 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Tags: patch

Hi,

Since treesit-parser-create requires at the least one arg, I think it
better to add it to example-form. The patch was created in the emacs-29
branch.

-- 
Best regards,
Aleksandr Vityazev
From 747d9202330e8eb3fb853002d8ec8089ff343b09 Mon Sep 17 00:00:00 2001
Message-Id: <7[email-masked]>
From: Aleksandr Vityazev <[email-masked]>
Date: Mon, 6 Feb 2023 13:39:10 +0300
Subject: [PATCH] * lisp/treesit.el (treesit): Fix shortdoc example form.

---
 lisp/treesit.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/treesit.el b/lisp/treesit.el
index 7bd68c9a6d9..6015e78bbd5 100644
--- a/lisp/treesit.el
+++ b/lisp/treesit.el
@@ -2963,7 +2963,7 @@ treesit
 
   "Parsers"
   (treesit-parser-create
-   :no-eval (treesit-parser-create)
+   :no-eval (treesit-parser-create 'c)
    :eg-result-string "#<treesit-parser for c>")
   (treesit-parser-delete
    :no-value (treesit-parser-delete parser))

base-commit: 5a6dfab1e4d5d89e5d5ff3bef73279926f067dbc
-- 
2.39.1