]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/replace.el (occur-1): Remove old fringe arrow.
authorMattias Engdegård <mattiase@acm.org>
Sat, 7 Aug 2021 09:11:52 +0000 (11:11 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sat, 7 Aug 2021 10:31:09 +0000 (12:31 +0200)
lisp/replace.el

index 54d652b2ed82f6cad117d44e0dcee35dfafe9b5c..ee46286a75fb9484fc331d181dee994058fdc58f 100644 (file)
@@ -1898,6 +1898,7 @@ See also `multi-occur'."
       ;; Make the default-directory of the *Occur* buffer match that of
       ;; the buffer where the occurrences come from
       (setq default-directory source-buffer-default-directory)
+      (setq overlay-arrow-position nil)
       (if (stringp nlines)
          (fundamental-mode) ;; This is for collect operation.
        (occur-mode))