From a45aed9479f610bcbc7a171b60d915fefc9b586a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Sun, 25 Jul 2021 21:39:39 +0200 Subject: [PATCH] Describe changes to the occur-mode implementation in NEWS * etc/NEWS: Mention change to the `occur-target` property (bug#39121). --- etc/NEWS | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index 0d1abfd852c..b969590f7c3 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -766,6 +766,15 @@ faces in other ways. *** The new command 'recenter-current-error', bound to 'l' in Occur or compilation buffers, recenters the current displayed occurrence/error. +--- +*** 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 +of markers delimiting each match on the line. +This is a fully compatible change to the internal occur-mode +implementation, and code creating their own occur-mode buffers will +work as before. + ** EIEIO +++ -- 2.39.2