Don't trigger nav-flash in special windows

This commit is contained in:
Henrik Lissner 2018-07-10 23:05:39 +02:00
parent 35b76ee49b
commit b5c57ab6e4
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -17,6 +17,7 @@
"Blink current line using `nav-flash'."
(interactive)
(unless (or (minibufferp)
(derived-mode-p 'special-mode)
(memq this-command '(mouse-set-point evil-mouse-drag-region)))
(nav-flash-show)
;; only show in the current window