diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2021-08-01 11:52:00 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2021-08-01 14:42:07 +0200 |
commit | 660b17ef3e2f169478b56aaaacf6b9aa761b0619 (patch) | |
tree | 76b1080592761219550b17db9aec82fa524c4046 /etc | |
parent | 12af7ee46d47152a2c499e24970a6ab4a94aed61 (diff) | |
download | emacs-660b17ef3e2f169478b56aaaacf6b9aa761b0619.tar.gz |
Indicate selected occur target with fringe arrow
* lisp/replace.el (occur--set-arrow): New function.
(occur-mode-goto-occurrence)
(occur-mode-goto-occurrence-other-window)
(occur-mode-display-occurrence): Call it.
* etc/NEWS: Announce.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -792,6 +792,9 @@ The method of highlighting is specified by the user options 'next-error-highlight' and 'next-error-highlight-no-select'. --- +*** A fringe arrow in the '*Occur*' buffer indicates the selected match. + +--- *** Occur mode may use a different type for 'occur-target' property values. The value was previously always a marker set to the start of the first match on the line but can now also be a list of '(BEGIN . END)' pairs |