# HG changeset patch # User Lute Kamstra # Date 1117120560 0 # Node ID 299e55d806612fcdcb3ee6ac1868001897caa4b4 # Parent 8cd0894899dcd4d9dd7145207bd636243fb52d00 Use run-mode-hooks. diff -r 8cd0894899dc -r 299e55d80661 lisp/international/swedish.el --- a/lisp/international/swedish.el Thu May 26 15:15:18 2005 +0000 +++ b/lisp/international/swedish.el Thu May 26 15:16:00 2005 +0000 @@ -131,7 +131,7 @@ ; (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 @@ ; (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)