summaryrefslogtreecommitdiff
path: root/misc/inf-ruby.el
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-03 09:29:22 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-03 09:29:22 +0000
commitafcabde71b0dd0034fc815015f1aeab63620d314 (patch)
tree85afe1df30d66dce311e7df433c31a13103dae7d /misc/inf-ruby.el
parent61837409e0ed1060011aca2d9e3f0ec5c2576dd9 (diff)
Add magic autoload comments to misc/*.el.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc/inf-ruby.el')
-rw-r--r--misc/inf-ruby.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/inf-ruby.el b/misc/inf-ruby.el
index ea03eee..b3f4f10 100644
--- a/misc/inf-ruby.el
+++ b/misc/inf-ruby.el
@@ -156,6 +156,7 @@
(define-key inferior-ruby-mode-map "\C-c\C-l" 'ruby-load-file)
))
+;;;###autoload
(defun inf-ruby-keys ()
"Set local key defs for inf-ruby in ruby-mode"
(define-key ruby-mode-map "\M-\C-x" 'ruby-send-definition)
@@ -265,6 +266,7 @@ Defaults to a regexp ignoring all inputs of 0, 1, or 2 letters.")
(ruby-args-to-list (substring string pos
(length string)))))))))
+;;;###autoload
(defun run-ruby (cmd)
"Run an inferior Ruby process, input and output via buffer *ruby*.
If there is a process already running in `*ruby*', switch to that buffer.