aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby-mode.el/pkg-message
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-05-06 06:38:22 +0800
committerknu <knu@FreeBSD.org>2001-05-06 06:38:22 +0800
commitbba12d5550dc84b31db222ba4ea2cbeb03811508 (patch)
treef699da63474215302447b980ba694b8ce386999e /lang/ruby-mode.el/pkg-message
parent3c6be99518f1a7d8eb195a47d31a2dd72210e59e (diff)
downloadfreebsd-ports-gnome-bba12d5550dc84b31db222ba4ea2cbeb03811508.tar.gz
freebsd-ports-gnome-bba12d5550dc84b31db222ba4ea2cbeb03811508.tar.zst
freebsd-ports-gnome-bba12d5550dc84b31db222ba4ea2cbeb03811508.zip
Separate Emacs lisp modules from lang/ruby as lang/ruby-mode.el.
Diffstat (limited to 'lang/ruby-mode.el/pkg-message')
-rw-r--r--lang/ruby-mode.el/pkg-message13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/ruby-mode.el/pkg-message b/lang/ruby-mode.el/pkg-message
new file mode 100644
index 000000000000..bb6a8739bddd
--- /dev/null
+++ b/lang/ruby-mode.el/pkg-message
@@ -0,0 +1,13 @@
+====
+To use ruby-mode, inf-ruby and rubydb in Emacs/XEmacs, add the
+following lines to your ~/.emacs:
+
+;; Taken from the comment section in inf-ruby.el
+(setq ruby-program-name "/usr/local/bin/ruby")
+(autoload 'ruby-mode "ruby-mode" "Mode for editing ruby source files")
+(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")
+(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode")
+(add-hook 'ruby-mode-hook '(lambda () (inf-ruby-keys)))
+====