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 7177251 commit 161449bCopy full SHA for 161449b
php-mode.el
@@ -1138,9 +1138,11 @@ After setting the stylevars run hooks according to STYLENAME
1138
(message "--- PHP-MODE DEBUG BEGIN ---")
1139
(message "versions: %s; %s" (emacs-version) (php-mode-version))
1140
(message "major-mode: %s" major-mode)
1141
- (message "minor-modes: %s" (cl-remove-if
1142
- (lambda (s) (string-match-p "global" (symbol-name s)))
1143
- minor-mode-list))
+ (message "minor-modes: %s"
+ (cl-loop for s in minor-mode-list
+ unless (string-match-p "global" (symbol-name s))
1144
+ if (and (boundp s) (symbol-value s))
1145
+ collect s))
1146
(message "variables: %s"
1147
(cl-loop for v in '(indent-tabs-mode tab-width)
1148
collect (list v (symbol-value v))))
0 commit comments