branch: elpa/php-mode
commit ee88d597bed1be3dab481513411ba91e46d24da3
Author: Alex Figl-Brick <[email protected]>
Commit: USAMI Kenta <[email protected]>

    Add php-function-call-standard inherit font-lock-function-call-face
---
 AUTHORS.md       | 1 +
 CHANGELOG.md     | 3 +++
 lisp/php-face.el | 6 ++++++
 3 files changed, 10 insertions(+)

diff --git a/AUTHORS.md b/AUTHORS.md
index bdd02614ce..2c25aaee2d 100644
--- a/AUTHORS.md
+++ b/AUTHORS.md
@@ -24,6 +24,7 @@ Names Sorted Alphabetically:
 
 - Aaron S. Hawley
 - Alan Pearce
+- Alex Figl-Brick
 - Andreas Röhler
 - Andrei Chițu
 - Antoine Brand
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3ec3ec288c..84abbfb5b0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,6 +18,7 @@ All notable changes of the PHP Mode 1.19.1 release series are 
documented in this
  * Remove `$` from face names for interoperability with treesit ([#780], 
[emacs-php/php-ts-mode#68])
    * `php-$this` → `php-this`
    * `php-$this-sigil` → `php-this-sigil`
+ * Add `php-function-call-standard` face inherit 
`font-lock-function-call-face` on Emacs 29.1 and above ([#782], thanks 
[@bricka]!)
 
 ### Removed
 
@@ -32,6 +33,8 @@ All notable changes of the PHP Mode 1.19.1 release series are 
documented in this
 [#776]: https://github.com/emacs-php/php-mode/discussions/776
 [#777]: https://github.com/emacs-php/php-mode/pull/777
 [#780]: https://github.com/emacs-php/php-mode/issues/780
+[#782]: https://github.com/emacs-php/php-mode/issues/782
+[@bricka]: https://github.com/bricka
 [emacs-php/php-ts-mode#68]: https://github.com/emacs-php/php-ts-mode/pull/68
 [PEAR Coding Standards]: https://pear.php.net/manual/en/standards.php
 
diff --git a/lisp/php-face.el b/lisp/php-face.el
index d5ac817b9a..bb07e5317f 100644
--- a/lisp/php-face.el
+++ b/lisp/php-face.el
@@ -55,6 +55,12 @@
   :group 'php-faces
   :tag "PHP Function Name")
 
+(defface php-function-call-standard `((t ,(when (eval-when-compile (get 
'font-lock-function-call-face 'face-defface-spec))
+                                            '(:inherit 
font-lock-function-call-face))))
+  "PHP Mode face used to highlight function names in calles."
+  :group 'php-faces
+  :tag "PHP Function Call Standard")
+
 (defface php-function-call '((t ()))
   "PHP Mode face used to highlight function names in calles."
   :group 'php-faces

Reply via email to