]> git.eshelyaron.com Git - emacs.git/commitdiff
(archive-mode): Use run-mode-hooks.
authorLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 12:11:10 +0000 (12:11 +0000)
committerLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 12:11:10 +0000 (12:11 +0000)
lisp/arc-mode.el

index e72d38f3a3f0e20f7a5f4cde2dbc11b27919b7d9..13f4559cfaf2e806f9f514ba7146194468e965c7 100644 (file)
@@ -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)