From 2e3813f169fbdc069c2794a62f84425a9aeaf1ce Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 9 Jan 2020 14:06:42 +0000 Subject: [PATCH] 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. --- configs/shared/.emacs.d/wpc/buffer.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/shared/.emacs.d/wpc/buffer.el b/configs/shared/.emacs.d/wpc/buffer.el index bd1019230..29cd2d6c2 100644 --- a/configs/shared/.emacs.d/wpc/buffer.el +++ b/configs/shared/.emacs.d/wpc/buffer.el @@ -40,7 +40,11 @@ "When t, install the keybindings defined herein.") (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.") (defconst buffer/source-code-timeout 2