Fixup the documentation for the previous change

* etc/NEWS: Mention `ruby-align-chained-calls'.

* lisp/progmodes/ruby-mode.el (ruby-align-chained-calls): Update the
  docstring and add :version tag.

Fixes: debbugs:16593
This commit is contained in:
Dmitry Gutov 2014-01-31 19:33:12 +02:00
parent e2a67bd08e
commit 2f313daf4a
3 changed files with 13 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
* NEWS: Mention `ruby-align-chained-calls'.
2014-01-31 Alex Schroeder <alex@gnu.org> (tiny change)
* gnus-tut.txt (Message-ID): Typo fix (bug#15556).

View file

@ -718,6 +718,9 @@ rather than mboxo. Customize `unrmail-mbox-format' to change this.
---
*** New option `ruby-align-to-stmt-keywords'.
---
*** New option `ruby-align-chained-calls'.
---
*** More Ruby file types have been added to `auto-mode-alist'.

View file

@ -265,13 +265,16 @@ Only has effect when `ruby-use-smie' is t.
:version "24.4")
(defcustom ruby-align-chained-calls nil
"If non-nil, chained method calls on multiple lines will be
aligned to the same column.
"If non-nil, align chained method calls.
Each method call on a separate line will be aligned to the column
of its parent.
Only has effect when `ruby-use-smie' is t."
:type 'boolean
:group 'ruby
:safe 'booleanp)
:safe 'booleanp
:version "24.4")
(defcustom ruby-deep-arglist t
"Deep indent lists in parenthesis when non-nil.