diff --git a/core/prelude-packages.el b/core/prelude-packages.el index 0db3911..e34f8e7 100644 --- a/core/prelude-packages.el +++ b/core/prelude-packages.el @@ -94,6 +94,7 @@ PACKAGE is installed only if not already present. The file is opened in MODE." ("\\.lua\\'" lua-mode lua-mode) ("\\.markdown\\'" markdown-mode markdown-mode) ("\\.md\\'" markdown-mode markdown-mode) + ("\\.ml\\'" tuareg tuareg-mode) ("\\.php\\'" php-mode php-mode) ("\\.sass\\'" sass-mode sass-mode) ("\\.scala\\'" scala-mode2 scala-mode) diff --git a/modules/prelude-programming.el b/modules/prelude-programming.el index 915f8a7..2e0638e 100644 --- a/modules/prelude-programming.el +++ b/modules/prelude-programming.el @@ -97,7 +97,7 @@ ;; show the name of the current function definition in the modeline (require 'which-func) -(setq which-func-modes t) +(add-to-list 'which-func-modes 'ruby-mode) (which-function-mode 1) ;; in Emacs 24 programming major modes generally derive from a common