summaryrefslogtreecommitdiff
blob: c1f9602d19d8384d2d3ac3af2462b6b8f4074927 (plain)
1
2
3
4
5
6
7
8
9
10
11
(add-to-list 'load-path "@SITELISP@")

(autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t)

(add-to-list 'auto-mode-alist '("\\.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)