diff options
| author | Lute Kamstra | 2005-05-26 13:08:57 +0000 |
|---|---|---|
| committer | Lute Kamstra | 2005-05-26 13:08:57 +0000 |
| commit | 92e9557c064b050de524c48e3e2d56b4db27e9bc (patch) | |
| tree | 6878fddb8f1c2b6392fe9ba2ff56dbc20a677a0f /lisp/replace.el | |
| parent | 430663bc89121001dbfafa9e7f6aaa503db901be (diff) | |
| download | emacs-92e9557c064b050de524c48e3e2d56b4db27e9bc.tar.gz emacs-92e9557c064b050de524c48e3e2d56b4db27e9bc.zip | |
(occur-mode): Use run-mode-hooks.
Diffstat (limited to 'lisp/replace.el')
| -rw-r--r-- | lisp/replace.el | 2 |
1 files changed, 1 insertions, 1 deletions
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. | |||
| 693 | (make-local-variable 'occur-revert-arguments) | 693 | (make-local-variable 'occur-revert-arguments) |
| 694 | (add-hook 'change-major-mode-hook 'font-lock-defontify nil t) | 694 | (add-hook 'change-major-mode-hook 'font-lock-defontify nil t) |
| 695 | (setq next-error-function 'occur-next-error) | 695 | (setq next-error-function 'occur-next-error) |
| 696 | (run-hooks 'occur-mode-hook)) | 696 | (run-mode-hooks 'occur-mode-hook)) |
| 697 | 697 | ||
| 698 | (defun occur-revert-function (ignore1 ignore2) | 698 | (defun occur-revert-function (ignore1 ignore2) |
| 699 | "Handle `revert-buffer' for Occur mode buffers." | 699 | "Handle `revert-buffer' for Occur mode buffers." |