From 2f313daf4ad1b1c36423f15d085314600a2a8a12 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Fri, 31 Jan 2014 19:33:12 +0200 Subject: [PATCH] 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 --- etc/ChangeLog | 4 ++++ etc/NEWS | 3 +++ lisp/progmodes/ruby-mode.el | 9 ++++++--- 3 files changed, 13 insertions(+), 3 deletions(-) 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. -- 2.39.2