branch: externals/embark
commit 0547d460db897cf70c71b3130684ef7fdbd5deeb
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Remove occur-highlight-regexp
    
    This variable is neither present on Emacs 27 nor 28.
---
 embark-consult.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/embark-consult.el b/embark-consult.el
index b05d5c9..bf3c17a 100644
--- a/embark-consult.el
+++ b/embark-consult.el
@@ -155,8 +155,7 @@ The elements of LINES are assumed to be values of category 
`consult-line'."
             (setq last-buf this-buf))
           (insert (concat lineno contents nl))))
       (goto-char (point-min))
-      (occur-mode)
-      (setq-local occur-highlight-regexp "^.*$"))
+      (occur-mode))
     (pop-to-buffer buf)))
 
 (setf (alist-get 'consult-location embark-collect-initial-view-alist)

Reply via email to