Add magic autoload comments to misc/*.el.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2013-09-03 09:29:22 +00:00
Родитель 61837409e0
Коммит afcabde71b
5 изменённых файлов: 16 добавлений и 0 удалений

Просмотреть файл

@ -1,3 +1,13 @@
Tue Sep 3 18:26:00 2013 Akinori MUSHA <knu@iDaemons.org>
* 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@ruby-lang.org> Tue Sep 3 17:06:15 2013 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_rubyoptions.rb * test/ruby/test_rubyoptions.rb

Просмотреть файл

@ -156,6 +156,7 @@
(define-key inferior-ruby-mode-map "\C-c\C-l" 'ruby-load-file) (define-key inferior-ruby-mode-map "\C-c\C-l" 'ruby-load-file)
)) ))
;;;###autoload
(defun inf-ruby-keys () (defun inf-ruby-keys ()
"Set local key defs for inf-ruby in ruby-mode" "Set local key defs for inf-ruby in ruby-mode"
(define-key ruby-mode-map "\M-\C-x" 'ruby-send-definition) (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 (ruby-args-to-list (substring string pos
(length string))))))))) (length string)))))))))
;;;###autoload
(defun run-ruby (cmd) (defun run-ruby (cmd)
"Run an inferior Ruby process, input and output via buffer *ruby*. "Run an inferior Ruby process, input and output via buffer *ruby*.
If there is a process already running in `*ruby*', switch to that buffer. If there is a process already running in `*ruby*', switch to that buffer.

Просмотреть файл

@ -8,6 +8,8 @@
;; License: Ruby's ;; License: Ruby's
(require 'derived) (require 'derived)
;;;###autoload
(define-derived-mode rdoc-mode text-mode "RDoc" (define-derived-mode rdoc-mode text-mode "RDoc"
"Major mode for RD editing. "Major mode for RD editing.
\\{rdoc-mode-map}" \\{rdoc-mode-map}"

Просмотреть файл

@ -93,6 +93,7 @@ inserted. The word 'all' will do all insertions."
closing bracket or not." closing bracket or not."
:type 'boolean :group 'ruby-electric) :type 'boolean :group 'ruby-electric)
;;;###autoload
(define-minor-mode ruby-electric-mode (define-minor-mode ruby-electric-mode
"Toggle Ruby Electric minor mode. "Toggle Ruby Electric minor mode.
With no argument, this command toggles the mode. Non-null prefix With no argument, this command toggles the mode. Non-null prefix

Просмотреть файл

@ -64,6 +64,7 @@
(access-label /) (access-label /)
))) )))
;;;###autoload
(defun ruby-style-c-mode () (defun ruby-style-c-mode ()
(interactive) (interactive)
(if (or (let ((name (buffer-file-name))) (and name (string-match "/ruby\\>" name))) (if (or (let ((name (buffer-file-name))) (and name (string-match "/ruby\\>" name)))