Commit 2ea53115 authored by Bozhidar Batsov's avatar Bozhidar Batsov
Browse files

* lisp/progmodes/ruby-mode.el (ruby-mode): Clean up docstring.

parent 46b0a07f
......@@ -1892,14 +1892,12 @@ See `font-lock-syntax-table'.")
;;;###autoload
(define-derived-mode ruby-mode prog-mode "Ruby"
"Major mode for editing Ruby scripts.
\\[ruby-indent-line] properly indents subexpressions of multi-line
class, module, def, if, while, for, do, and case statements, taking
nesting into account.
"Major mode for editing Ruby code.
The variable `ruby-indent-level' controls the amount of indentation.
\\{ruby-mode-map}
\\{ruby-mode-map}"
Entry to this mode calls the value of `ruby-mode-hook'
if that value is non-nil."
(ruby-mode-variables)
(setq-local imenu-create-index-function 'ruby-imenu-create-index)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment