From 26a683095662df0a2e7ca2f2c7edf4ef3c5ff0ce Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 4 Apr 2016 11:49:57 +0200 Subject: [PATCH] Turn on abbrev-mode in Ruby buffers --- emacs/.emacs.d/init.org | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 32bcd97..f368073 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1325,6 +1325,14 @@ (add-hook 'twig-mode-hook (turn-off auto-fill-mode)) #+END_SRC +** Ruby + + Turn on =abbrev-mode= in Ruby buffers. + + #+BEGIN_SRC emacs-lisp + (add-hook 'ruby-mode-hook 'abbrev-mode) + #+END_SRC + * Minor mode customization Many minor modes also offer a bit of customization possibilities.