]> git.eshelyaron.com Git - emacs.git/commitdiff
(occur-mode): Use run-mode-hooks.
authorLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 13:08:57 +0000 (13:08 +0000)
committerLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 13:08:57 +0000 (13:08 +0000)
lisp/replace.el

index c9c70b59de57457725bf11cef70aeebde4b2fc5f..ba3d5fcfbf44adc6745f69f82daf21d236893d32 100644 (file)
@@ -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."