summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emulation/ws-mode.el3
1 files changed, 2 insertions, 1 deletions
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 ()