From 2ea53115b435f84ce093b7cb9ee5e7ce31120349 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Mon, 4 Nov 2013 16:20:58 +0200 Subject: [PATCH] * lisp/progmodes/ruby-mode.el (ruby-mode): Clean up docstring. --- lisp/progmodes/ruby-mode.el | 10 ++++------ 1 file 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'.") ;;;###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) -- 2.39.2