]> code.delx.au - gnu-emacs/commitdiff
(sh-mode): Run sh-mode-hook.
authorRichard M. Stallman <rms@gnu.org>
Sun, 16 Dec 2001 17:27:44 +0000 (17:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 16 Dec 2001 17:27:44 +0000 (17:27 +0000)
lisp/progmodes/sh-script.el

index 4c9cfb9e28490226a5f41b9500fa63dad65670ff..e0448990de2bac5d3b9b3815ddd8d0e91f768555 100644 (file)
@@ -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)