[前][次][番号順一覧][スレッド一覧]

ruby-changes:30725

From: knu <ko1@a...>
Date: Tue, 3 Sep 2013 18:29:36 +0900 (JST)
Subject: [ruby-changes:30725] knu:r42804 (trunk): Add magic autoload comments to misc/*.el.

knu	2013-09-03 18:29:22 +0900 (Tue, 03 Sep 2013)

  New Revision: 42804

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42804

  Log:
    Add magic autoload comments to misc/*.el.

  Modified files:
    trunk/ChangeLog
    trunk/misc/inf-ruby.el
    trunk/misc/rdoc-mode.el
    trunk/misc/ruby-electric.el
    trunk/misc/ruby-style.el
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42803)
+++ ChangeLog	(revision 42804)
@@ -1,3 +1,13 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Sep  3 18:26:00 2013  Akinori MUSHA  <knu@i...>
+
+	* misc/inf-ruby.el (inf-ruby-keys, run-ruby): Add magic autoload comments.
+
+	* misc/rdoc-mode.el (rdoc-mode): Ditto.
+
+	* misc/ruby-electric.el (ruby-electric-mode): Ditto.
+
+	* misc/ruby-style.el (ruby-style-c-mode): Ditto.
+
 Tue Sep  3 17:06:15 2013  NAKAMURA Usaku  <usa@r...>
 
 	* test/ruby/test_rubyoptions.rb
Index: misc/rdoc-mode.el
===================================================================
--- misc/rdoc-mode.el	(revision 42803)
+++ misc/rdoc-mode.el	(revision 42804)
@@ -8,6 +8,8 @@ https://github.com/ruby/ruby/blob/trunk/misc/rdoc-mode.el#L8
 ;; License: Ruby's
 
 (require 'derived)
+
+;;;###autoload
 (define-derived-mode rdoc-mode text-mode "RDoc"
   "Major mode for RD editing.
 \\{rdoc-mode-map}"
Index: misc/ruby-electric.el
===================================================================
--- misc/ruby-electric.el	(revision 42803)
+++ misc/ruby-electric.el	(revision 42804)
@@ -93,6 +93,7 @@ inserted. The word 'all' will do all ins https://github.com/ruby/ruby/blob/trunk/misc/ruby-electric.el#L93
 closing bracket or not."
   :type 'boolean :group 'ruby-electric)
 
+;;;###autoload
 (define-minor-mode ruby-electric-mode
   "Toggle Ruby Electric minor mode.
 With no argument, this command toggles the mode.  Non-null prefix
Index: misc/inf-ruby.el
===================================================================
--- misc/inf-ruby.el	(revision 42803)
+++ misc/inf-ruby.el	(revision 42804)
@@ -156,6 +156,7 @@ https://github.com/ruby/ruby/blob/trunk/misc/inf-ruby.el#L156
        (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 https://github.com/ruby/ruby/blob/trunk/misc/inf-ruby.el#L266
                  (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.
Index: misc/ruby-style.el
===================================================================
--- misc/ruby-style.el	(revision 42803)
+++ misc/ruby-style.el	(revision 42804)
@@ -64,6 +64,7 @@ https://github.com/ruby/ruby/blob/trunk/misc/ruby-style.el#L64
     (access-label /)
     )))
 
+;;;###autoload
 (defun ruby-style-c-mode ()
   (interactive)
   (if (or (let ((name (buffer-file-name))) (and name (string-match "/ruby\\>" name)))

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]