From ad41523f4e710a3803ffff124431a6fb2ce59935 Mon Sep 17 00:00:00 2001 From: USAMI Kenta Date: Wed, 5 Dec 2018 01:49:39 +0900 Subject: [PATCH 1/2] Modify spacing --- php-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php-mode.el b/php-mode.el index 0fee33b1..72219715 100644 --- a/php-mode.el +++ b/php-mode.el @@ -170,7 +170,7 @@ Turning this on will open it whenever `php-mode' is loaded." (defsubst php-in-string-or-comment-p () (nth 8 (syntax-ppss))) -(defun php-mode-extra-constants-create-regexp(kwds) +(defun php-mode-extra-constants-create-regexp (kwds) "Create regexp for the list of extra constant keywords KWDS." (concat "[^_$]?\\<\\(" (regexp-opt @@ -178,7 +178,7 @@ Turning this on will open it whenever `php-mode' is loaded." (when (boundp 'web-mode-extra-php-constants) web-mode-extra-php-constants))) "\\)\\>[^_]?")) -(defun php-mode-extra-constants-set(sym value) +(defun php-mode-extra-constants-set (sym value) "Apply the list of extra constant keywords `VALUE'. This function is called when the custom variable php-extra-constants From 76d35ba7fa7c8fabdf6457745878ce6e35a5c7fa Mon Sep 17 00:00:00 2001 From: USAMI Kenta Date: Wed, 5 Dec 2018 01:49:50 +0900 Subject: [PATCH 2/2] Suppress warning in compile-time MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` In end of data: php-mode.el:1864:1:Warning: the function ‘pkg-info-version-info’ is not known to be defined. ``` --- php-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/php-mode.el b/php-mode.el index 72219715..a65a5c5a 100644 --- a/php-mode.el +++ b/php-mode.el @@ -92,6 +92,7 @@ (eval-when-compile (require 'regexp-opt) + (autoload 'pkg-info-version-info "pkg-info") (defvar c-vsemi-status-unknown-p) (defvar syntax-propertize-via-font-lock))