From: Lute Kamstra Date: Thu, 26 May 2005 13:08:57 +0000 (+0000) Subject: (occur-mode): Use run-mode-hooks. X-Git-Tag: emacs-pretest-22.0.90~9551 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=92e9557c064b050de524c48e3e2d56b4db27e9bc;p=emacs.git (occur-mode): Use run-mode-hooks. --- 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."