From: Bozhidar Batsov Date: Mon, 4 Nov 2013 14:20:58 +0000 (+0200) Subject: * lisp/progmodes/ruby-mode.el (ruby-mode): Clean up docstring. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~992 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2ea53115b435f84ce093b7cb9ee5e7ce31120349;p=emacs.git * lisp/progmodes/ruby-mode.el (ruby-mode): Clean up docstring. --- 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'.") ;;;###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)