From e43cd8c54eba75a37cede973bc78e99d14c55432 Mon Sep 17 00:00:00 2001 From: USAMI Kenta Date: Thu, 9 May 2019 02:29:19 +0900 Subject: [PATCH] Remove redundant font-lock pattern --- php-mode.el | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/php-mode.el b/php-mode.el index fcbb223f..5097e7e1 100644 --- a/php-mode.el +++ b/php-mode.el @@ -1653,18 +1653,12 @@ a completion list." ;; Highlight special variables ("\\(\\$\\)\\(this\\|that\\)\\_>" (1 'php-$this-sigil) (2 'php-$this)) - ("\\(\\$\\)\\([a-zA-Z0-9_]+\\)" (1 'php-variable-sigil) (2 'php-variable-name)) + ("\\(\\$+\\)\\(\\sw+\\)" (1 'php-variable-sigil) (2 'php-variable-name)) ("\\(->\\)\\([a-zA-Z0-9_]+\\)" (1 'php-object-op) (2 'php-property-name)) ;; Highlight function/method names ("\\