aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBozhidar Batsov2013-11-04 16:20:58 +0200
committerBozhidar Batsov2013-11-04 16:20:58 +0200
commit2ea53115b435f84ce093b7cb9ee5e7ce31120349 (patch)
treedcba3a8c0b546c14e22e137c9823351bf07d8178
parent46b0a07f2c3c16b7dc3d7ba2e73ebe9b26b3b039 (diff)
downloademacs-2ea53115b435f84ce093b7cb9ee5e7ce31120349.tar.gz
emacs-2ea53115b435f84ce093b7cb9ee5e7ce31120349.zip
* lisp/progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
-rw-r--r--lisp/progmodes/ruby-mode.el10
1 files changed, 4 insertions, 6 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 1c9663cc22c..2d13cc7cc4c 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -1892,14 +1892,12 @@ See `font-lock-syntax-table'.")
1892 1892
1893;;;###autoload 1893;;;###autoload
1894(define-derived-mode ruby-mode prog-mode "Ruby" 1894(define-derived-mode ruby-mode prog-mode "Ruby"
1895 "Major mode for editing Ruby scripts. 1895 "Major mode for editing Ruby code.
1896\\[ruby-indent-line] properly indents subexpressions of multi-line
1897class, module, def, if, while, for, do, and case statements, taking
1898nesting into account.
1899 1896
1900The variable `ruby-indent-level' controls the amount of indentation. 1897\\{ruby-mode-map}
1901 1898
1902\\{ruby-mode-map}" 1899Entry to this mode calls the value of `ruby-mode-hook'
1900if that value is non-nil."
1903 (ruby-mode-variables) 1901 (ruby-mode-variables)
1904 1902
1905 (setq-local imenu-create-index-function 'ruby-imenu-create-index) 1903 (setq-local imenu-create-index-function 'ruby-imenu-create-index)