mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix nav-flash being suppressed
By a variable that will (almost) always be non-til.
This commit is contained in:
@ -16,7 +16,8 @@ jumping to another part of the file)."
|
|||||||
(defun +nav-flash-blink-cursor-maybe (&rest _)
|
(defun +nav-flash-blink-cursor-maybe (&rest _)
|
||||||
"Like `+nav-flash-blink-cursor', but no-ops if in special-mode or term-mode,
|
"Like `+nav-flash-blink-cursor', but no-ops if in special-mode or term-mode,
|
||||||
or triggered from one of `+nav-flash-exclude-commands'."
|
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)
|
(derived-mode-p 'special-mode 'term-mode)
|
||||||
(memq this-command +nav-flash-exclude-commands)
|
(memq this-command +nav-flash-exclude-commands)
|
||||||
(and (equal (point-marker) (car +nav-flash--last-point))
|
(and (equal (point-marker) (car +nav-flash--last-point))
|
||||||
|
Reference in New Issue
Block a user