Subject: bug#61318: closed (Re: bug#61318: emacs-29; [PATCH] * lisp/treesit.el (treesit): Fix shortdoc example form.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 06 Feb 2023 14:39:02 +0000

Your bug report

#61318: emacs-29; [PATCH] * lisp/treesit.el (treesit): Fix shortdoc example form.

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
61318: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61318
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#61318: emacs-29; [PATCH] * lisp/treesit.el (treesit): Fix shortdoc example form.
From: Eli Zaretskii <[email-masked]>
To: Aleksandr Vityazev <[email-masked]>
Cc: [email-masked]
Date: Mon, 06 Feb 2023 16:38:33 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Aleksandr Vityazev <[email-masked]>
> Date: Mon, 06 Feb 2023 10:49:08 +0000
> 
> 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.

Thanks, installed on the emacs-29 branch.

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