Репозитории ALT
S: | 3.1.2-alt2.1 |
5.1: | 1.9.1-alt1.r26040.1 |
4.1: | 1.8.7-alt0.M41.5 |
4.0: | 1.8.6-alt2.M40.2 |
3.0: | 1.8.2-alt7 |
Группа :: Разработка/Ruby
Пакет: ruby
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: ruby-1.9.2-alt-emacs.patch
Скачать
Скачать
diff --git a/ruby.el b/ruby.el
new file mode 100644
index 0000000..638f9eb
--- /dev/null
+++ b/ruby.el
@@ -0,0 +1,11 @@
+; site-start script for Emacs, initializes autoloading of
+; Ruby mode
+;
+; March 2003
+; rider@altlinux.org
+
+(autoload 'ruby-mode "ruby-mode" "Major mode for Ruby scripts." t)
+(add-to-list 'auto-mode-alist '("\\(\\.rb\\|\\.rhtml\\)$" . ruby-mode))
+(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))
+
+; End of site-start.d/ruby.el