unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#60514: [PATCH] Fix defun reference in comment in c-ts-mode
       [not found] <m1tu17n5kp.fsf.ref@yahoo.es>
@ 2023-01-03 12:52 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-01-04  6:59   ` Yuan Fu
  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-01-03 12:52 UTC (permalink / raw)
  To: 60514

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

Tags: patch


I've found a comment in c-ts-mode.el that references an invalid/old
function.  This patches fixes it, but please double check that it now
refers to the correct function.  Thanks.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-defun-reference-in-comment.patch --]
[-- Type: text/patch, Size: 888 bytes --]

From 1ec1442dba441109dbee43d53206a7f653907fc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= <mardani29@yahoo.es>
Date: Tue, 3 Jan 2023 13:49:08 +0100
Subject: [PATCH] ;; Fix defun reference in comment

---
 lisp/progmodes/c-ts-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el
index 1f2a195bf64..ba38845a084 100644
--- a/lisp/progmodes/c-ts-mode.el
+++ b/lisp/progmodes/c-ts-mode.el
@@ -358,7 +358,7 @@ c-ts-mode--font-lock-settings
    :language mode
    :feature 'assignment
    ;; TODO: Recursively highlight identifiers in parenthesized
-   ;; expressions, see `c-ts-mode--fontify-struct-declarator' for
+   ;; expressions, see `c-ts-mode--fontify-declarator' for
    ;; inspiration.
    '((assignment_expression
       left: (identifier) @font-lock-variable-name-face)
-- 
2.34.1


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

* bug#60514: [PATCH] Fix defun reference in comment in c-ts-mode
  2023-01-03 12:52 ` bug#60514: [PATCH] Fix defun reference in comment in c-ts-mode Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-01-04  6:59   ` Yuan Fu
  0 siblings, 0 replies; 2+ messages in thread
From: Yuan Fu @ 2023-01-04  6:59 UTC (permalink / raw)
  To: Daniel Martín; +Cc: 60514-done


Daniel Martín <mardani29@yahoo.es> writes:

> Tags: patch
>
>
> I've found a comment in c-ts-mode.el that references an invalid/old
> function.  This patches fixes it, but please double check that it now
> refers to the correct function.  Thanks.

Yes that’s correct. Thanks! I applied the patch.

Yuan





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

end of thread, other threads:[~2023-01-04  6:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <m1tu17n5kp.fsf.ref@yahoo.es>
2023-01-03 12:52 ` bug#60514: [PATCH] Fix defun reference in comment in c-ts-mode Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-04  6:59   ` Yuan Fu

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).