aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby-ri/pkg-message
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-04-05 22:11:09 +0800
committerknu <knu@FreeBSD.org>2001-04-05 22:11:09 +0800
commit65a08cbc49e4adbac1f187f24e1073c5bbabd9fb (patch)
treef265e37c1870b2b1dc143245ae697667fe1a41c5 /lang/ruby-ri/pkg-message
parentf8ba4a93297688fc4f87b9376e5d39b7e08556b2 (diff)
downloadfreebsd-ports-gnome-65a08cbc49e4adbac1f187f24e1073c5bbabd9fb.tar.gz
freebsd-ports-gnome-65a08cbc49e4adbac1f187f24e1073c5bbabd9fb.tar.zst
freebsd-ports-gnome-65a08cbc49e4adbac1f187f24e1073c5bbabd9fb.zip
Add ruby-ri, Ruby Interactive reference with command line and Emacs
interfaces.
Diffstat (limited to 'lang/ruby-ri/pkg-message')
-rw-r--r--lang/ruby-ri/pkg-message14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/ruby-ri/pkg-message b/lang/ruby-ri/pkg-message
new file mode 100644
index 000000000000..56a32d4ab133
--- /dev/null
+++ b/lang/ruby-ri/pkg-message
@@ -0,0 +1,14 @@
+**********************************************************************
+To use ri from Emacs, add the following to your startup file.
+(e.g. ~/.emacs)
+
+ (autoload 'ruby-index "ri.el" "ri utility" t)
+ (autoload 'ri "ri.el" "ri utility" t)
+ (autoload 'ri-show-term-at-point "ri.el" "ri utility" t)
+ (autoload 'ri-show-term-composite-at-point "ri.el" "ri utility" t)
+
+ (global-set-key "\C-c\C-c\C-r" 'ri-show-term-at-point)
+ (global-set-key "\C-c\C-c\C-t" 'ri-show-term-composite-at-point)
+
+For details, refer to the comment section of ri.el.
+**********************************************************************