Skip to content

Commit efd4fd1

Browse files
committed
Add php-ide-mode-hooks
1 parent 398bf10 commit efd4fd1

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
@@ -146,6 +146,8 @@
146146
:type 'string
147147
:safe #'stringp)
148148

149+
(defvar php-ide-mode-hooks nil)
150+
149151
;;;###autoload
150152
(define-minor-mode php-ide-mode
151153
"Minor mode for integrate IDE-like tools."
@@ -158,6 +160,7 @@
158160
ide-features
159161
(mapconcat (lambda (feature) (concat "'" (symbol-name feature)))
160162
(php-ide--avilable-features) ", ")))
163+
(run-hooks 'php-ide-mode-hooks)
161164
(cl-loop for feature in ide-features
162165
for ide-plist = (cdr-safe (assq feature php-ide-feature-alist))
163166
do (if (null ide-plist)

0 commit comments

Comments
 (0)