all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#65297: [PATCH] Fix warning compiling csharp-mode.el
       [not found] <m1bkf9fkvy.fsf.ref@yahoo.es>
@ 2023-08-14 20:07 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-08-15 15:49   ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-08-14 20:07 UTC (permalink / raw)
  To: 65297

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

Tags: patch


This patch fixes a warning compiling Emacs, about treesit-query-capture
not defined.

In GNU Emacs 29.1 (build 1, aarch64-apple-darwin21.6.0, NS
 appkit-2113.60 Version 12.6.6 (Build 21G646)) of 2023-07-30 built on
 armbob.lan
Windowing system distributor 'Apple', version 10.3.2113
System Description:  macOS 12.6.7

Configured using:
 'configure --with-ns '--enable-locallisppath=/Library/Application
 Support/Emacs/${version}/site-lisp:/Library/Application
 Support/Emacs/site-lisp' --with-modules 'CFLAGS=-DFD_SETSIZE=10000
 -DDARWIN_UNLIMITED_SELECT' --with-x-toolkit=no'


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-progmodes-csharp-mode.el-treesit-query-capture-.patch --]
[-- Type: text/patch, Size: 823 bytes --]

From c34fbe331cab60b79eeb414daf93eb01231df95f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= <mardani29@yahoo.es>
Date: Mon, 14 Aug 2023 21:46:11 +0200
Subject: [PATCH] ; lisp/progmodes/csharp-mode.el (treesit-query-capture):
 Declare

---
 lisp/progmodes/csharp-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/csharp-mode.el b/lisp/progmodes/csharp-mode.el
index 5291efda175..37bb84ab5ba 100644
--- a/lisp/progmodes/csharp-mode.el
+++ b/lisp/progmodes/csharp-mode.el
@@ -45,6 +45,7 @@
 (declare-function treesit-node-start "treesit.c")
 (declare-function treesit-node-type "treesit.c")
 (declare-function treesit-node-child-by-field-name "treesit.c")
+(declare-function treesit-query-capture "treesit.c")
 
 (defgroup csharp nil
   "Major mode for editing C# code."
-- 
2.40.1


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

* bug#65297: [PATCH] Fix warning compiling csharp-mode.el
  2023-08-14 20:07 ` bug#65297: [PATCH] Fix warning compiling csharp-mode.el Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-08-15 15:49   ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2023-08-15 15:49 UTC (permalink / raw)
  To: Daniel Martín; +Cc: 65297-done

> Date: Mon, 14 Aug 2023 22:07:29 +0200
> From:  Daniel Martín via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> This patch fixes a warning compiling Emacs, about treesit-query-capture
> not defined.

Thanks, installed on the emacs-29 branch, and closing the bug.





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

end of thread, other threads:[~2023-08-15 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <m1bkf9fkvy.fsf.ref@yahoo.es>
2023-08-14 20:07 ` bug#65297: [PATCH] Fix warning compiling csharp-mode.el Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-15 15:49   ` Eli Zaretskii

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.