From: Karl Heuer Date: Tue, 11 Nov 1997 02:56:56 +0000 (+0000) Subject: (wordstar-mode): Run wordstar-mode-hook. X-Git-Tag: emacs-20.3~2827 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d73769eb97353c6cd07181fea06bbc04e632f246;p=emacs.git (wordstar-mode): Run wordstar-mode-hook. --- diff --git a/lisp/emulation/ws-mode.el b/lisp/emulation/ws-mode.el index 29158dbf174..50340e90785 100644 --- a/lisp/emulation/ws-mode.el +++ b/lisp/emulation/ws-mode.el @@ -293,7 +293,8 @@ The key bindings are: (kill-all-local-variables) (use-local-map wordstar-mode-map) (setq mode-name "WordStar") - (setq major-mode 'wordstar-mode)) + (setq major-mode 'wordstar-mode) + (run-hooks 'wordstar-mode-hook)) (defun wordstar-center-paragraph ()