aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-11-11 02:48:26 +0000
committerRichard M. Stallman <[email protected]>1993-11-11 02:48:26 +0000
commit4baf56205b483c0d19da33251fb1772373375227 (patch)
treec8de32798308fe0c832449e452c28197fb95fc36 /lisp/replace.el
parent472895ad897123fef45db350691e22694c94c919 (diff)
(occur-mode): Run occur-mode-hook.
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index 0b0e56df2f..b8bf0648c2 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."