summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2021-08-01 11:52:00 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2021-08-01 14:42:07 +0200
commit660b17ef3e2f169478b56aaaacf6b9aa761b0619 (patch)
tree76b1080592761219550b17db9aec82fa524c4046 /etc
parent12af7ee46d47152a2c499e24970a6ab4a94aed61 (diff)
downloademacs-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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index bd5c803d376..95a2c87d054 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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