changeset 42075:a39583392219

(sh-mode): Run sh-mode-hook.
author Richard M. Stallman <rms@gnu.org>
date Sun, 16 Dec 2001 17:27:44 +0000
parents fdee0c7c3bf1
children d6765861f6ea
files lisp/progmodes/sh-script.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/sh-script.el	Sun Dec 16 16:28:59 2001 +0000
+++ b/lisp/progmodes/sh-script.el	Sun Dec 16 17:27:44 2001 +0000
@@ -1342,7 +1342,8 @@
 		 ((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)