1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00

(occur-mode): Run occur-mode-hook.

This commit is contained in:
Richard M. Stallman 1993-11-11 02:48:26 +00:00
parent 472895ad89
commit 4baf56205b

View File

@ -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."