From 1c532f0d1c21eeb54b488b908171705b8cd8566e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 16 Dec 2001 17:27:44 +0000 Subject: [PATCH] (sh-mode): Run sh-mode-hook. --- lisp/progmodes/sh-script.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 4c9cfb9e284..e0448990de2 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -1342,7 +1342,8 @@ with your script for an edit-interpret-debug cycle." ((and buffer-file-name (string-match "\\.m?spec$" buffer-file-name)) "rpm"))))) - (sh-set-shell (or interpreter sh-shell-file) nil nil))) + (sh-set-shell (or interpreter sh-shell-file) nil nil)) + (run-hooks 'sh-mode-hook)) ;;;###autoload (defalias 'shell-script-mode 'sh-mode) -- 2.39.5