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:
parent
472895ad89
commit
4baf56205b
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user