]> git.eshelyaron.com Git - emacs.git/commit
Fix font lock regex for user defined constant in PHP
authorVincenzo Pupillo <v.pupillo@gmail.com>
Sun, 16 Jun 2024 14:32:53 +0000 (16:32 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 22 Jun 2024 15:38:41 +0000 (17:38 +0200)
commit117d3f197fe1e50d6cf679add8660e521bfeff29
tree2f10a51d99b11eaffeeda605bb7b97f8c3f854ec
parenteff97080d661e9d369b502c49f72fcfce3630472
Fix font lock regex for user defined constant in PHP

The old regex also captured functions with two or more
uppercase characters.  This new regex fixes that issue.
* lisp/progmodes/php-ts-mode.el (php-ts-mode--font-lock-settings):
New regex that match only user-defined constants.  (Bug#71593)

(cherry picked from commit a4fe4ca93cfdc835ecd8c5dcc98c201a1eefb546)
lisp/progmodes/php-ts-mode.el