a guest Mar 13th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (autoload 'ruby-mode "ruby-mode"
  2.   "Mode for editing ruby source files" t)
  3. (setq auto-mode-alist
  4.       (append '(("\\.rb$" . ruby-mode)) auto-mode-alist))
  5. (setq interpreter-mode-alist (append '(("ruby" . ruby-mode))
  6.                      interpreter-mode-alist))
  7. (autoload 'run-ruby "inf-ruby"
  8.   "Run an inferior Ruby process")
  9. (autoload 'inf-ruby-keys "inf-ruby"
  10.   "Set local key defs for inf-ruby in ruby-mode")
  11. (add-hook 'ruby-mode-hook
  12.           '(lambda ()
  13.             (inf-ruby-keys)))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand