From: Michael Orlitzky Date: Sun, 10 Nov 2019 00:31:18 +0000 (-0500) Subject: mode-hooks: drop ruby hook since emacs' upstream mode probably works. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=123b2d54db2a0151dd94022d93f0d4148466e01e;p=emacs.d.git mode-hooks: drop ruby hook since emacs' upstream mode probably works. --- diff --git a/mode-hooks.el b/mode-hooks.el index ff6876d..d2ca019 100644 --- a/mode-hooks.el +++ b/mode-hooks.el @@ -8,6 +8,5 @@ (load-library "nxml-mode-hooks") (load-library "octave-mode-hooks") (load-library "python-mode-hooks") -(load-library "ruby-mode-hooks") (load-library "term-mode-hooks") (load-library "visual-basic-mode-hooks") diff --git a/mode-hooks/ruby-mode-hooks.el b/mode-hooks/ruby-mode-hooks.el deleted file mode 100644 index 043780e..0000000 --- a/mode-hooks/ruby-mode-hooks.el +++ /dev/null @@ -1,7 +0,0 @@ -(defun rbm-hook() - ;; Put ruby-mode back into newline-and-indent - (define-key ruby-mode-map "\C-m" 'ruby-reindent-then-newline-and-indent) - ) - - -(add-hook 'ruby-mode-hook (function rbm-hook))