diff options
| author | Bozhidar Batsov | 2013-11-04 16:20:58 +0200 |
|---|---|---|
| committer | Bozhidar Batsov | 2013-11-04 16:20:58 +0200 |
| commit | 2ea53115b435f84ce093b7cb9ee5e7ce31120349 (patch) | |
| tree | dcba3a8c0b546c14e22e137c9823351bf07d8178 | |
| parent | 46b0a07f2c3c16b7dc3d7ba2e73ebe9b26b3b039 (diff) | |
| download | emacs-2ea53115b435f84ce093b7cb9ee5e7ce31120349.tar.gz emacs-2ea53115b435f84ce093b7cb9ee5e7ce31120349.zip | |
* lisp/progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 10 |
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 | ||
| 1897 | class, module, def, if, while, for, do, and case statements, taking | ||
| 1898 | nesting into account. | ||
| 1899 | 1896 | ||
| 1900 | The variable `ruby-indent-level' controls the amount of indentation. | 1897 | \\{ruby-mode-map} |
| 1901 | 1898 | ||
| 1902 | \\{ruby-mode-map}" | 1899 | Entry to this mode calls the value of `ruby-mode-hook' |
| 1900 | if 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) |