diff options
author | Richard M. Stallman <[email protected]> | 2001-12-16 17:27:44 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 2001-12-16 17:27:44 +0000 |
commit | 1c532f0d1c21eeb54b488b908171705b8cd8566e (patch) | |
tree | ded5abd4df5a9bb5940d5920b1878a99d47a88a4 /lisp/progmodes/sh-script.el | |
parent | 467ee23fac0ac8c2b9193629a8998eb8223e515d (diff) |
(sh-mode): Run sh-mode-hook.
Diffstat (limited to 'lisp/progmodes/sh-script.el')
-rw-r--r-- | lisp/progmodes/sh-script.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 4c9cfb9e28..e0448990de 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) |