diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-26 20:10:49 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-26 20:10:49 +0000 |
commit | c85a90f90521c7e11d618b527d6630cc64cecbd4 (patch) | |
tree | 27c1f04d8eab0e0140fb62887a6a5d4d87c32ad9 /app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.5.0.el | |
parent | 2f51c9978dda4c6e8debca43e4235ecc86914032 (diff) |
gentoo resync : 26.12.2017
Diffstat (limited to 'app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.5.0.el')
-rw-r--r-- | app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.5.0.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.5.0.el b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.5.0.el new file mode 100644 index 000000000000..691abdfdaf99 --- /dev/null +++ b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.5.0.el @@ -0,0 +1,12 @@ +(add-to-list 'load-path "@SITELISP@") + +(autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t) + +(add-to-list 'auto-mode-alist '("Rakefile\\'" . ruby-mode)) +(add-to-list 'auto-mode-alist '("\\.\\(rake\\|rb\\)\\'" . ruby-mode)) +(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode)) + +(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process" t) +(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode") + +(add-hook 'ruby-mode-hook 'inf-ruby-keys) |