|
55 | 55 | :group 'php-faces
|
56 | 56 | :tag "PHP Function Name")
|
57 | 57 |
|
58 |
| -(defface php-function-call '((t ())) |
| 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)))) |
59 | 60 | "PHP Mode face used to highlight function names in calles."
|
60 | 61 | :group 'php-faces
|
61 |
| - :tag "PHP Function Call") |
| 62 | + :tag "PHP Function Call Standard") |
62 | 63 |
|
63 |
| -(defface php-method-call '((t (:inherit php-function-call))) |
| 64 | +(defface php-function-call-traditional '((t ())) |
| 65 | + "PHP Mode face used to highlight function names in calles." |
| 66 | + :group 'php-faces |
| 67 | + :tag "PHP Function Call Traditional") |
| 68 | + |
| 69 | +(define-obsolete-face-alias 'php-function-call 'php-function-call-traditional "1.26.0") |
| 70 | + |
| 71 | +(defface php-method-call-standard '((t (:inherit php-function-call-standard))) |
| 72 | + "PHP Mode face used to highlight method names in calles." |
| 73 | + :group 'php-faces |
| 74 | + :tag "PHP Method Call Standard") |
| 75 | + |
| 76 | +(defface php-method-call-traditional '((t (:inherit php-function-call-traditional))) |
64 | 77 | "PHP Mode face used to highlight method names in calles."
|
65 | 78 | :group 'php-faces
|
66 |
| - :tag "PHP Method Call") |
| 79 | + :tag "PHP Method Call Traditional") |
| 80 | + |
| 81 | +(define-obsolete-face-alias 'php-method-call 'php-method-call-traditional "1.26.0") |
| 82 | + |
| 83 | +(defface php-static-method-call-standard '((t (:inherit php-method-call-standard))) |
| 84 | + "PHP Mode face used to highlight static method names in calles." |
| 85 | + :group 'php-faces |
| 86 | + :tag "PHP Static Method Call Standard") |
67 | 87 |
|
68 |
| -(defface php-static-method-call '((t (:inherit php-method-call))) |
| 88 | +(defface php-static-method-call-traditional '((t (:inherit php-method-call-traditional))) |
69 | 89 | "PHP Mode face used to highlight static method names in calles."
|
70 | 90 | :group 'php-faces
|
71 |
| - :tag "PHP Static Method Call") |
| 91 | + :tag "PHP Static Method Call Traditional") |
| 92 | + |
| 93 | +(define-obsolete-face-alias 'php-static-method-call 'php-static-method-call-traditional "1.26.0") |
72 | 94 |
|
73 | 95 | (defface php-variable-name '((t (:inherit font-lock-variable-name-face)))
|
74 | 96 | "PHP Mode face used to highlight variable names."
|
|
0 commit comments