ui/nav-flash: refactor
+ Avoid generating unneeded markers (relatively expensive in the long run). + Extract excluded major modes into a variable.
This commit is contained in:
parent
ff58823d48
commit
f0d601d2ac
2 changed files with 10 additions and 5 deletions
|
@ -5,6 +5,10 @@
|
|||
org-find-file org-find-file-at-mouse)
|
||||
"A list of commands that should not trigger nav-flash.")
|
||||
|
||||
(defvar +nav-flash-exclude-modes
|
||||
'(so-long-mode special-mode comint-mode term-mode vterm-mode)
|
||||
"List of major modes where nav-flash won't automatically trigger.")
|
||||
|
||||
|
||||
;;
|
||||
;;; Packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue