branch: externals/idlwave
commit b8a31a9f6b32c52f01f901b00e70bcb875945f5b
Author: JD Smith <jdtsm...@gmail.com>
Commit: JD Smith <jdtsm...@gmail.com>

    Use 'run-mode-hooks'
---
 idlw-help.el  | 2 +-
 idlw-shell.el | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/idlw-help.el b/idlw-help.el
index 3f3f03e87d..7716fab7d7 100644
--- a/idlw-help.el
+++ b/idlw-help.el
@@ -325,7 +325,7 @@ Here are all keybindings.
   (set (make-local-variable 'idlwave-help-def-pos) nil)
   (set (make-local-variable 'idlwave-help-args) nil)
   (set (make-local-variable 'idlwave-help-in-header) nil)
-  (run-hooks 'idlwave-help-mode-hook))
+  (run-mode-hooks 'idlwave-help-mode-hook))
 
 (defvar idlwave-current-obj_new-class)
 (defvar idlwave-help-diagnostics)
diff --git a/idlw-shell.el b/idlw-shell.el
index 701a446f9a..66fa007f8a 100644
--- a/idlw-shell.el
+++ b/idlw-shell.el
@@ -1087,7 +1087,7 @@ IDL has currently stepped.")
   (set (make-local-variable 'tool-bar-map) nil)
 
   ;; Run the hooks.
-  (run-hooks 'idlwave-shell-mode-hook)
+  (run-mode-hooks 'idlwave-shell-mode-hook)
   (idlwave-shell-send-command idlwave-shell-initial-commands nil 'hide)
   ;; Turn off IDL's ^d interpreting, and define a system
   ;; variable which knows the version of IDLWAVE

Reply via email to