Skip to content

Commit bc64776

Browse files
committed
Add php-ide-mode-hooks
1 parent 03bffc9 commit bc64776

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: lisp/php-ide.el

+3
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@
149149
:type 'string
150150
:safe #'stringp)
151151

152+
(defvar php-ide-mode-hooks nil)
153+
152154
;;;###autoload
153155
(define-minor-mode php-ide-mode
154156
"Minor mode for integrate IDE-like tools."
@@ -161,6 +163,7 @@
161163
ide-features
162164
(mapconcat (lambda (feature) (concat "'" (symbol-name feature)))
163165
(php-ide--avilable-features) ", ")))
166+
(run-hooks 'php-ide-mode-hooks)
164167
(cl-loop for feature in ide-features
165168
for ide-plist = (cdr-safe (assq feature php-ide-feature-alist))
166169
do (if (null ide-plist)

0 commit comments

Comments
 (0)