diff --git a/etc/ChangeLog b/etc/ChangeLog index f8d6cdcbdbf..235940ccd0b 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,7 @@ +2014-01-31 Dmitry Gutov + + * NEWS: Mention `ruby-align-chained-calls'. + 2014-01-31 Alex Schroeder (tiny change) * gnus-tut.txt (Message-ID): Typo fix (bug#15556). diff --git a/etc/NEWS b/etc/NEWS index b9bf67469b7..dcb8b13b1fd 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -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'. diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 17e16217ccb..1bce911cf0e 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -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.