emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/php-mode 6d4ca45093 06/15: Add php-ide-mode-hooks


From: ELPA Syncer
Subject: [nongnu] elpa/php-mode 6d4ca45093 06/15: Add php-ide-mode-hooks
Date: Sat, 18 Mar 2023 18:01:27 -0400 (EDT)

branch: elpa/php-mode
commit 6d4ca45093060ad320b9a9dfc197098953b89d63
Author: USAMI Kenta <tadsan@zonu.me>
Commit: USAMI Kenta <tadsan@zonu.me>

    Add php-ide-mode-hooks
---
 lisp/php-ide.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/php-ide.el b/lisp/php-ide.el
index 1342c1564e..c0bf2e6876 100644
--- a/lisp/php-ide.el
+++ b/lisp/php-ide.el
@@ -143,6 +143,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."
@@ -155,6 +157,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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]