From: Richard M. Stallman Date: Sun, 16 Dec 2001 17:27:44 +0000 (+0000) Subject: (sh-mode): Run sh-mode-hook. X-Git-Tag: ttn-vms-21-2-B4~17687 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1c532f0d1c21eeb54b488b908171705b8cd8566e;p=emacs.git (sh-mode): Run sh-mode-hook. --- 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)