Mercurial > emacs
diff lisp/replace.el @ 62737:f5aef2123438
(occur-mode): Use run-mode-hooks.
| author | Lute Kamstra <lute@gnu.org> |
|---|---|
| date | Thu, 26 May 2005 13:08:57 +0000 |
| parents | 2c228409c44d |
| children | 571afd8b238a 01137c1fdbe9 |
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."
