changeset 62714:ec0621e2b94f

(archive-mode): Use run-mode-hooks.
author Lute Kamstra <lute@gnu.org>
date Thu, 26 May 2005 12:11:10 +0000
parents cf8babc6db4b
children d07ea6e0706b
files lisp/arc-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)