summaryrefslogtreecommitdiff
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 ()
tree85afe1df30d66dce311e7df433c31a13103dae7d
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
-rw-r--r--ChangeLog10
-rw-r--r--misc/inf-ruby.el2
-rw-r--r--misc/rdoc-mode.el2
-rw-r--r--misc/ruby-electric.el1
-rw-r--r--misc/ruby-style.el1
5 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,13 @@
Tue Sep 3 17:06:15 2013 NAKAMURA Usaku <[email protected]>
* test/ruby/test_rubyoptions.rb
@@ -156,6 +156,7 @@
(define-key inferior-ruby-mode-map "\C-c\C-l" 'ruby-load-file)
))
(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)))))))))
(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.
@@ -8,6 +8,8 @@
;; License: Ruby's
(require 'derived)
(define-derived-mode rdoc-mode text-mode "RDoc"
"Major mode for RD editing.
\\{rdoc-mode-map}"
@@ -93,6 +93,7 @@ inserted. The word 'all' will do all insertions."
closing bracket or not."
:type 'boolean :group 'ruby-electric)
(define-minor-mode ruby-electric-mode
"Toggle Ruby Electric minor mode.
With no argument, this command toggles the mode. Non-null prefix
@@ -64,6 +64,7 @@
(access-label /)
)))
(defun ruby-style-c-mode ()
(interactive)
(if (or (let ((name (buffer-file-name))) (and name (string-match "/ruby\\>" name)))