Skip to content

Commit 6d4ca45

Browse files
committed
Add php-ide-mode-hooks
1 parent e45fa07 commit 6d4ca45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lisp/php-ide.el

+3
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@
143143
:type 'string
144144
:safe #'stringp)
145145

146+
(defvar php-ide-mode-hooks nil)
147+
146148
;;;###autoload
147149
(define-minor-mode php-ide-mode
148150
"Minor mode for integrate IDE-like tools."
@@ -155,6 +157,7 @@
155157
ide-features
156158
(mapconcat (lambda (feature) (concat "'" (symbol-name feature)))
157159
(php-ide--avilable-features) ", ")))
160+
(run-hooks 'php-ide-mode-hooks)
158161
(cl-loop for feature in ide-features
159162
for ide-plist = (cdr-safe (assq feature php-ide-feature-alist))
160163
do (if (null ide-plist)

0 commit comments

Comments
 (0)