summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
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$")