From: Lute Kamstra Date: Thu, 26 May 2005 15:16:00 +0000 (+0000) Subject: Use run-mode-hooks. X-Git-Tag: emacs-pretest-22.0.90~9528 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0124295f1708bf9b5baa71a460cca60b3cf2577a;p=emacs.git Use run-mode-hooks. --- diff --git a/lisp/international/swedish.el b/lisp/international/swedish.el index 7f300da9c45..29ef995a6d1 100644 --- a/lisp/international/swedish.el +++ b/lisp/international/swedish.el @@ -131,7 +131,7 @@ Leaves point just after the word that looks Swedish." ; (setq major-mode 'swedish-mode) ; (setq local-abbrev-table swedish-mode-abbrev-table) ; (set-syntax-table text-mode-syntax-table) -; (run-hooks 'text-mode-hook)) +; (run-mode-hooks 'text-mode-hook)) ;(defun indented-swedish-mode () ; "Major mode for editing indented Swedish text intended for @@ -149,7 +149,7 @@ Leaves point just after the word that looks Swedish." ; (use-local-map indented-text-mode-map) ; (setq mode-name "Indented Swedish") ; (setq major-mode 'indented-swedish-mode) -; (run-hooks 'text-mode-hook)) +; (run-mode-hooks 'text-mode-hook)) (provide 'swedish)