Skip to content

Commit

Permalink
Add php-ide-mode-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
zonuexe committed Nov 6, 2022
1 parent f80213d commit e79e686
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lisp/php-ide.el
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,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."
Expand All @@ -161,6 +163,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)
Expand Down

0 comments on commit e79e686

Please sign in to comment.