Mercurial > emacs
diff lisp/arc-mode.el @ 62714:ec0621e2b94f
(archive-mode): Use run-mode-hooks.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Thu, 26 May 2005 12:11:10 +0000 |
parents | 9918f801db35 |
children | abe14daaa679 01137c1fdbe9 |
line wrap: on
line diff
--- 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)