Fix nav-flash being suppressed

By a variable that will (almost) always be non-til.
This commit is contained in:
Henrik Lissner 2019-10-28 22:38:47 -04:00
parent ba7b8d661d
commit be08f9794e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -16,7 +16,8 @@ jumping to another part of the file)."
(defun +nav-flash-blink-cursor-maybe (&rest _)
"Like `+nav-flash-blink-cursor', but no-ops if in special-mode or term-mode,
or triggered from one of `+nav-flash-exclude-commands'."
(unless (or (bound-and-true-p so-long-enabled)
(unless (or (bound-and-true-p so-long-minor-mode)
(eq major-mode 'so-long-mode)
(derived-mode-p 'special-mode 'term-mode)
(memq this-command +nav-flash-exclude-commands)
(and (equal (point-marker) (car +nav-flash--last-point))