about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/buffer.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-02-02T13·19+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-02-02T18·31+0000
commit2e76601f7055b9a481a29c2c357ff622814c7707 (patch)
tree21b227053492419b36933e9548d78e5127e40865 /emacs/.emacs.d/wpc/buffer.el
parent5521db80b17a05d5614f18feb4bb6305bef50f2d (diff)
Blacklist additional non-source-code modes
I don't want vterm buffers or magit buffers showing up when I cycle throw
buffers.
Diffstat (limited to 'emacs/.emacs.d/wpc/buffer.el')
-rw-r--r--emacs/.emacs.d/wpc/buffer.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/.emacs.d/wpc/buffer.el b/emacs/.emacs.d/wpc/buffer.el
index d388818e58a4..3e4d546fc8ca 100644
--- a/emacs/.emacs.d/wpc/buffer.el
+++ b/emacs/.emacs.d/wpc/buffer.el
@@ -42,9 +42,11 @@
 (defconst buffer/source-code-blacklist
   (set/new 'dired-mode
            'erc-mode
+           'vterm-mode
            'magit-status-mode
            'magit-process-mode
            'magit-log-mode
+           'magit-diff-mode
            'org-mode
            'fundamental-mode)
   "A blacklist of major-modes to ignore for listing source code buffers.")