Skip to content

Commit 0af8d71

Browse files
authored
Merge pull request #485 from emacs-php/fix/code-style
Fix style and suppress warning in compile
2 parents d769da0 + 76d35ba commit 0af8d71

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

php-mode.el

+3-2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292

9393
(eval-when-compile
9494
(require 'regexp-opt)
95+
(autoload 'pkg-info-version-info "pkg-info")
9596
(defvar c-vsemi-status-unknown-p)
9697
(defvar syntax-propertize-via-font-lock))
9798

@@ -170,15 +171,15 @@ Turning this on will open it whenever `php-mode' is loaded."
170171
(defsubst php-in-string-or-comment-p ()
171172
(nth 8 (syntax-ppss)))
172173

173-
(defun php-mode-extra-constants-create-regexp(kwds)
174+
(defun php-mode-extra-constants-create-regexp (kwds)
174175
"Create regexp for the list of extra constant keywords KWDS."
175176
(concat "[^_$]?\\<\\("
176177
(regexp-opt
177178
(append kwds
178179
(when (boundp 'web-mode-extra-php-constants) web-mode-extra-php-constants)))
179180
"\\)\\>[^_]?"))
180181

181-
(defun php-mode-extra-constants-set(sym value)
182+
(defun php-mode-extra-constants-set (sym value)
182183
"Apply the list of extra constant keywords `VALUE'.
183184
184185
This function is called when the custom variable php-extra-constants

0 commit comments

Comments
 (0)