From: Lute Kamstra Date: Thu, 26 May 2005 12:11:10 +0000 (+0000) Subject: (archive-mode): Use run-mode-hooks. X-Git-Tag: emacs-pretest-22.0.90~9574 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=21a88c56b3223ef150632d012e2003ebbaf7130e;p=emacs.git (archive-mode): Use run-mode-hooks. --- diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el index e72d38f3a3f..13f4559cfaf 100644 --- a/lisp/arc-mode.el +++ b/lisp/arc-mode.el @@ -672,7 +672,7 @@ archive. (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)