summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-05-08 11:15:50 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-05-08 11:15:50 -0400
commitce4a15545497079ad6fe30cba1b6276577544438 (patch)
tree59f49e25560d015edaf006fa368c4200e11c32c4 /init
parent61d324f63258197807d30fbce988cde7e1b74967 (diff)
downloademacs.d-ce4a15545497079ad6fe30cba1b6276577544438.tar.gz
ibuffer: match python buffer by mode too
Diffstat (limited to 'init')
-rw-r--r--init/km-ibuffer.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/init/km-ibuffer.el b/init/km-ibuffer.el
index 2659e42..9481f22 100644
--- a/init/km-ibuffer.el
+++ b/init/km-ibuffer.el
@@ -20,7 +20,8 @@
(mode . rst-mode)))
("lua" (name . ".lua$"))
("perl" (name . ".pl$"))
- ("python" (name . ".py$"))
+ ("python" (or (mode . python-mode)
+ (name . ".py$")))
("git" (name . "\*git"))
("text" (name . ".txt"))
("shell" (or (name . ".sh$")