summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/ruby-mode/files/50ruby-mode-gentoo.el')
-rw-r--r--app-emacs/ruby-mode/files/50ruby-mode-gentoo.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el b/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el
new file mode 100644
index 000000000000..b717db6eb2b6
--- /dev/null
+++ b/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el
@@ -0,0 +1,9 @@
+;;; Ruby-mode site-lisp configuration
+
+(setq load-path (cons "@SITELISP@" load-path))
+
+(autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t)
+(setq auto-mode-alist
+ (append '(("\\.rb$" . ruby-mode)) auto-mode-alist))
+
+