summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2016-11-17 10:27:43 -0800
committerFranck Cuny <franck.cuny@gmail.com>2016-11-17 10:27:43 -0800
commit1317bc8ac91a2dcc2e7ea0d910c33df35056bbf0 (patch)
tree091a005efd1c153c89cd58a264178a966b502e01
parent[Emacs] Load my theme. (diff)
downloademacs.d-1317bc8ac91a2dcc2e7ea0d910c33df35056bbf0.tar.gz
[Emacs] Group ruby buffers on the mode name, not file extension.
Diffstat (limited to '')
-rw-r--r--emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 2be2e96..652ab5f 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -276,7 +276,7 @@
                  ("puppet" (mode . puppet-mode))
                  ("python" (mode . python-mode))
                  ("repl"   (name . "repl"))
-                 ("ruby"   (name . "^\\.rb$"))
+                 ("ruby"   (mode . ruby-mode))
                  ("sh"     (mode . sh-mode))
                  ("text"   (mode . text-mode))))))