diff --git a/lisp/php-ide.el b/lisp/php-ide.el index 22edc9d1..0e75e39f 100644 --- a/lisp/php-ide.el +++ b/lisp/php-ide.el @@ -148,6 +148,8 @@ :type 'string :safe #'stringp) +(defvar php-ide-mode-hooks nil) + ;;;###autoload (define-minor-mode php-ide-mode "Minor mode for integrate IDE-like tools." @@ -160,6 +162,7 @@ ide-features (mapconcat (lambda (feature) (concat "'" (symbol-name feature))) (php-ide--avilable-features) ", "))) + (run-hooks 'php-ide-mode-hooks) (cl-loop for feature in ide-features for ide-plist = (cdr-safe (assq feature php-ide-feature-alist)) do (if (null ide-plist)