From 2cbf420e3ae3f812ce414bc5df940a1e210da6a2 Mon Sep 17 00:00:00 2001 From: USAMI Kenta Date: Tue, 28 May 2024 03:32:01 +0900 Subject: [PATCH] Remove $ from facename for interop with treesit --- php-face.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/php-face.el b/php-face.el index 3588c0a..764d053 100644 --- a/php-face.el +++ b/php-face.el @@ -156,16 +156,19 @@ The operator is also knows as \"Paamayim Nekudotayim\"." :group 'php-faces :tag "PHP Magical Constant") -(defface php-$this '((t (:inherit php-constant))) +(defface php-this '((t (:inherit php-constant))) "PHP Mode face used to highlight $this variables." :group 'php-faces :tag "PHP $this") -(defface php-$this-sigil '((t (:inherit php-constant))) +(defface php-this-sigil '((t (:inherit php-constant))) "PHP Mode face used to highlight sigils($) of $this variable." :group 'php-faces :tag "PHP $this Sigil") +(define-obsolete-face-alias 'php-$this 'php-this "1.26.0") +(define-obsolete-face-alias 'php-$this-sigil 'php-this-sigil "1.26.0") + (defface php-errorcontrol-op '((t (:inherit font-lock-type-face))) "PHP Mode face used to highlight errorcontrol operators (@).." :group 'php-faces