We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbf2723 commit d313790Copy full SHA for d313790
lisp/php.el
@@ -220,8 +220,7 @@ it is the character that will terminate the string, or t if the string should be
220
221
(defsubst php-in-poly-php-html-mode ()
222
"Return T if current buffer is in `poly-html-mode'."
223
- (and (boundp 'poly-php-html-mode)
224
- (symbol-value 'poly-php-html-mode)))
+ (bound-and-true-p poly-php-html-mode))
225
226
(defconst php-beginning-of-defun-regexp
227
"^\\s-*\\(?:\\(?:abstract\\|final\\|private\\|protected\\|public\\|static\\)\\s-+\\)*function\\s-+&?\\(\\(\\sw\\|\\s_\\)+\\)\\s-*("
0 commit comments