diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-11-11 02:48:26 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-11-11 02:48:26 +0000 |
commit | 4baf56205b483c0d19da33251fb1772373375227 (patch) | |
tree | c8de32798308fe0c832449e452c28197fb95fc36 /lisp/replace.el | |
parent | 472895ad897123fef45db350691e22694c94c919 (diff) | |
download | emacs-4baf56205b483c0d19da33251fb1772373375227.tar.gz |
(occur-mode): Run occur-mode-hook.
Diffstat (limited to 'lisp/replace.el')
-rw-r--r-- | lisp/replace.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/replace.el b/lisp/replace.el index 0b0e56df2fe..b8bf0648c24 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -227,7 +227,8 @@ in the buffer that the occurrences were found in. (setq mode-name "Occur") (make-local-variable 'occur-buffer) (make-local-variable 'occur-nlines) - (make-local-variable 'occur-pos-list)) + (make-local-variable 'occur-pos-list) + (run-hooks 'occur-mode-hook)) (defun occur-mode-goto-occurrence () "Go to the line this occurrence was found in, in the buffer it was found in." |