Support additional magit modes in buffer/source-code-blacklist

I'm sure I'll discover more modes that I'd like to blacklist; I just haven't
encountered them yet.
This commit is contained in:
William Carroll 2020-01-09 14:06:42 +00:00
parent 71c24104eb
commit 2e3813f169

View file

@ -40,7 +40,11 @@
"When t, install the keybindings defined herein.") "When t, install the keybindings defined herein.")
(defconst buffer/source-code-blacklist (defconst buffer/source-code-blacklist
(set/new 'dired-mode 'erc-mode 'magit-status-mode) (set/new 'dired-mode
'erc-mode
'magit-status-mode
'magit-process-mode
'magit-log-mode)
"A blacklist of major-modes to ignore for listing source code buffers.") "A blacklist of major-modes to ignore for listing source code buffers.")
(defconst buffer/source-code-timeout 2 (defconst buffer/source-code-timeout 2