unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Vincenzo Pupillo <v.pupillo@gmail.com>
To: 71759@debbugs.gnu.org
Cc: Stefan Kangas <stefankangas@gmail.com>
Subject: bug#71759: 30.0.60; Reference to non-existent `php-html-ts-mode' in php-ts-mode.el
Date: Tue, 25 Jun 2024 10:53:33 +0200	[thread overview]
Message-ID: <2846701.vuYhMxLoTh@3-191.divsi.unimi.it> (raw)
In-Reply-To: <CADwFkmmtK1yq8y=TMrDRj0iah2YEsb0qxDL1iK6-MT+M2hz0zA@mail.gmail.com>

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

Hi Stefan,
I think this doc fix should be fine.
Thanks.

Vincenzo

In data lunedì 24 giugno 2024 22:08:00 CEST, Stefan Kangas ha scritto:
> Severity: minor
> 
> In php-ts-mode.el, the `php-ts-mode--custom-html-font-lock-settings'
> variable docstring refers to a `php-html-ts-mode', but I can't find any
> other references to such a mode in our tree.
> 
> 
> 

[-- Attachment #2: 0001-Doc-fix-in-php-ts-mode.patch --]
[-- Type: text/x-patch, Size: 1023 bytes --]

From cd655d70c150e705e7811e70563074421aecffec Mon Sep 17 00:00:00 2001
From: Vincenzo Pupillo <v.pupillo@gmail.com>
Date: Tue, 25 Jun 2024 10:37:40 +0200
Subject: [PATCH] Doc fix in 'php-ts-mode'

* lisp/progmodes/php-ts-mode.el
(php-ts-mode--custom-html-font-lock-settings): Doc fix.
(bug#71759)
---
 lisp/progmodes/php-ts-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/php-ts-mode.el b/lisp/progmodes/php-ts-mode.el
index bede26b7da5..826c131ca70 100644
--- a/lisp/progmodes/php-ts-mode.el
+++ b/lisp/progmodes/php-ts-mode.el
@@ -977,7 +977,8 @@ php-ts-mode--custom-html-font-lock-settings
    :override t
    :feature 'property
    `((attribute_name) @font-lock-variable-name-face))
-  "Tree-sitter font-lock settings for `php-html-ts-mode'.")
+  "Tree-sitter Font-lock settings for HTML when embedded in PHP.
+Like `html-ts-mode--font-lock-settings' but adapted for `php-ts-mode'.")
 
 (defvar php-ts-mode--phpdoc-font-lock-settings
   (treesit-font-lock-rules
-- 
2.45.2


  reply	other threads:[~2024-06-25  8:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-24 20:08 bug#71759: 30.0.60; Reference to non-existent `php-html-ts-mode' in php-ts-mode.el Stefan Kangas
2024-06-25  8:53 ` Vincenzo Pupillo [this message]
2024-06-26 23:49   ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2846701.vuYhMxLoTh@3-191.divsi.unimi.it \
    --to=v.pupillo@gmail.com \
    --cc=71759@debbugs.gnu.org \
    --cc=stefankangas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).