From 92e9557c064b050de524c48e3e2d56b4db27e9bc Mon Sep 17 00:00:00 2001 From: Lute Kamstra Date: Thu, 26 May 2005 13:08:57 +0000 Subject: [PATCH] (occur-mode): Use run-mode-hooks. --- lisp/replace.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/replace.el b/lisp/replace.el index c9c70b59de5..ba3d5fcfbf4 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -693,7 +693,7 @@ Alternatively, click \\[occur-mode-mouse-goto] on an item to go to it. (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." -- 2.39.5