Skip to content

Commit

Permalink
Merge pull request #456 from zonuexe/fix/suppress-byte-compile-error
Browse files Browse the repository at this point in the history
Fix require and supress error messages of byte compile
  • Loading branch information
zonuexe authored Apr 9, 2018
2 parents 6a16667 + 9bc0f1a commit 6de2923
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion php-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
(require 'speedbar)
(require 'imenu)
(require 'nadvice nil t)
(require 'php-project nil t)
(require 'package)

(require 'cl-lib)
(require 'mode-local)
Expand Down Expand Up @@ -1182,6 +1182,8 @@ After setting the stylevars run hooks according to STYLENAME
(declare (indent 1))
(php-mode-debug--buffer 'insert (apply #'format format-string args) "\n"))

(declare-function custom-group-members "cus-edit" (symbol groups-only))

(defun php-mode-debug ()
"Display informations useful for debugging PHP Mode."
(interactive)
Expand Down Expand Up @@ -1309,6 +1311,9 @@ After setting the stylevars run hooks according to STYLENAME
(save-excursion
(php-syntax-propertize-function (point-min) (point-max))))))


(declare-function semantic-create-imenu-index "semantic/imenu" (&optional stream))

(defvar-mode-local php-mode imenu-create-index-function
(if php-do-not-use-semantic-imenu
#'imenu-default-create-index-function
Expand Down

0 comments on commit 6de2923

Please sign in to comment.