Skip to content

Commit ee88d59

Browse files
brickazonuexe
authored andcommitted
Add php-function-call-standard inherit font-lock-function-call-face
1 parent c8e4c16 commit ee88d59

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

AUTHORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Names Sorted Alphabetically:
2424

2525
- Aaron S. Hawley
2626
- Alan Pearce
27+
- Alex Figl-Brick
2728
- Andreas Röhler
2829
- Andrei Chițu
2930
- Antoine Brand

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ All notable changes of the PHP Mode 1.19.1 release series are documented in this
1818
* Remove `$` from face names for interoperability with treesit ([#780], [emacs-php/php-ts-mode#68])
1919
* `php-$this``php-this`
2020
* `php-$this-sigil``php-this-sigil`
21+
* Add `php-function-call-standard` face inherit `font-lock-function-call-face` on Emacs 29.1 and above ([#782], thanks [@bricka]!)
2122

2223
### Removed
2324

@@ -32,6 +33,8 @@ All notable changes of the PHP Mode 1.19.1 release series are documented in this
3233
[#776]: https://github.com/emacs-php/php-mode/discussions/776
3334
[#777]: https://github.com/emacs-php/php-mode/pull/777
3435
[#780]: https://github.com/emacs-php/php-mode/issues/780
36+
[#782]: https://github.com/emacs-php/php-mode/issues/782
37+
[@bricka]: https://github.com/bricka
3538
[emacs-php/php-ts-mode#68]: https://github.com/emacs-php/php-ts-mode/pull/68
3639
[PEAR Coding Standards]: https://pear.php.net/manual/en/standards.php
3740

lisp/php-face.el

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@
5555
:group 'php-faces
5656
:tag "PHP Function Name")
5757

58+
(defface php-function-call-standard `((t ,(when (eval-when-compile (get 'font-lock-function-call-face 'face-defface-spec))
59+
'(:inherit font-lock-function-call-face))))
60+
"PHP Mode face used to highlight function names in calles."
61+
:group 'php-faces
62+
:tag "PHP Function Call Standard")
63+
5864
(defface php-function-call '((t ()))
5965
"PHP Mode face used to highlight function names in calles."
6066
:group 'php-faces

0 commit comments

Comments
 (0)