Mercurial > emacs
comparison lisp/emulation/ws-mode.el @ 62759:a796f7d10b85
(wordstar-mode): Use run-mode-hooks.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Thu, 26 May 2005 15:14:51 +0000 |
parents | 695cf19ef79e |
children | 18a818a2ee7c 01137c1fdbe9 |
comparison
equal
deleted
inserted
replaced
62758:3225f62f5e9f | 62759:a796f7d10b85 |
---|---|
292 (interactive) | 292 (interactive) |
293 (kill-all-local-variables) | 293 (kill-all-local-variables) |
294 (use-local-map wordstar-mode-map) | 294 (use-local-map wordstar-mode-map) |
295 (setq mode-name "WordStar") | 295 (setq mode-name "WordStar") |
296 (setq major-mode 'wordstar-mode) | 296 (setq major-mode 'wordstar-mode) |
297 (run-hooks 'wordstar-mode-hook)) | 297 (run-mode-hooks 'wordstar-mode-hook)) |
298 | 298 |
299 | 299 |
300 (defun wordstar-center-paragraph () | 300 (defun wordstar-center-paragraph () |
301 "Center each line in the paragraph at or after point. | 301 "Center each line in the paragraph at or after point. |
302 See `wordstar-center-line' for more info." | 302 See `wordstar-center-line' for more info." |