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:
parent
71c24104eb
commit
2e3813f169
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue