unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#61318: emacs-29; [PATCH] * lisp/treesit.el (treesit): Fix shortdoc example form.
@ 2023-02-06 10:49 Aleksandr Vityazev
  2023-02-06 14:38 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Aleksandr Vityazev @ 2023-02-06 10:49 UTC (permalink / raw)
  To: 61318

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-treesit.el-treesit-Fix-shortdoc-example-form.patch --]
[-- Type: text/patch, Size: 862 bytes --]

From 747d9202330e8eb3fb853002d8ec8089ff343b09 Mon Sep 17 00:00:00 2001
Message-Id: <747d9202330e8eb3fb853002d8ec8089ff343b09.1675679959.git.avityazev@posteo.org>
From: Aleksandr Vityazev <avityazev@posteo.org>
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#61318: emacs-29; [PATCH] * lisp/treesit.el (treesit): Fix shortdoc example form.
  2023-02-06 10:49 bug#61318: emacs-29; [PATCH] * lisp/treesit.el (treesit): Fix shortdoc example form Aleksandr Vityazev
@ 2023-02-06 14:38 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2023-02-06 14:38 UTC (permalink / raw)
  To: Aleksandr Vityazev; +Cc: 61318-done

> From: Aleksandr Vityazev <avityazev@posteo.org>
> 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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-06 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-06 10:49 bug#61318: emacs-29; [PATCH] * lisp/treesit.el (treesit): Fix shortdoc example form Aleksandr Vityazev
2023-02-06 14:38 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).