File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ All notable changes of the PHP Mode 1.19.1 release series are documented in this
14
14
15
15
* Make continued expressions inside lists (arguments and arrays, etc.) have the same indent width as outside the list ([ #703 ] )
16
16
* (internal) Improved readability of test failures about indentation ([ #707 ] )
17
+ * ` php-doc-annotation-tag ` inherits ` font-lock-doc-markup-face ` if defined in Emacs 28 ([ #711 ] )
17
18
18
19
### Fixed
19
20
@@ -24,6 +25,7 @@ All notable changes of the PHP Mode 1.19.1 release series are documented in this
24
25
[ #707 ] : https://github.com/emacs-php/php-mode/pull/707
25
26
[ #708 ] : https://github.com/emacs-php/php-mode/pull/708
26
27
[ #710 ] : https://github.com/emacs-php/php-mode/pull/710
28
+ [ #711 ] : https://github.com/emacs-php/php-mode/pull/711
27
29
28
30
## [ 1.24.1] - 2022-10-08
29
31
Original file line number Diff line number Diff line change 175
175
:group 'php-faces
176
176
:tag " PHP php Tag" )
177
177
178
- (defface php-doc-annotation-tag '((t . (:inherit font-lock-constant-face )))
178
+ (defface php-doc-annotation-tag (eval-when-compile
179
+ (if (eval-when-compile (boundp 'font-lock-doc-markup-face ))
180
+ '((t . (:inherit font-lock-doc-markup-face)))
181
+ '((t . (:inherit font-lock-constant-face )))))
179
182
" Face used to highlight annotation tags in doc-comment."
180
183
:group 'php-faces
181
184
:tag " PHPDoc Annotation Tag" )
You can’t perform that action at this time.
0 commit comments