changeset 62737:f5aef2123438

(occur-mode): Use run-mode-hooks.
author Lute Kamstra <lute@gnu.org>
date Thu, 26 May 2005 13:08:57 +0000
parents 76864fc0acf0
children d3fe76043df3
files lisp/replace.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/replace.el	Thu May 26 13:07:46 2005 +0000
+++ b/lisp/replace.el	Thu May 26 13:08:57 2005 +0000
@@ -693,7 +693,7 @@
   (make-local-variable 'occur-revert-arguments)
   (add-hook 'change-major-mode-hook 'font-lock-defontify nil t)
   (setq next-error-function 'occur-next-error)
-  (run-hooks 'occur-mode-hook))
+  (run-mode-hooks 'occur-mode-hook))
 
 (defun occur-revert-function (ignore1 ignore2)
   "Handle `revert-buffer' for Occur mode buffers."