# HG changeset patch # User Lute Kamstra # Date 1117109470 0 # Node ID ec0621e2b94fe0fd246d6e1ba6054e32489991ea # Parent cf8babc6db4bad6fd778cb46622b89a90dd185db (archive-mode): Use run-mode-hooks. diff -r cf8babc6db4b -r ec0621e2b94f lisp/arc-mode.el --- a/lisp/arc-mode.el Thu May 26 10:32:45 2005 +0000 +++ b/lisp/arc-mode.el Thu May 26 12:11:10 2005 +0000 @@ -672,7 +672,7 @@ (setq major-mode 'archive-mode) (setq mode-name (concat typename "-Archive")) ;; Run archive-foo-mode-hook and archive-mode-hook - (run-hooks (archive-name "mode-hook") 'archive-mode-hook) + (run-mode-hooks (archive-name "mode-hook") 'archive-mode-hook) (use-local-map archive-mode-map)) (make-local-variable 'archive-proper-file-start)