diff options
| author | Dmitry Gutov | 2014-01-31 19:33:12 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2014-01-31 19:33:12 +0200 |
| commit | 2f313daf4ad1b1c36423f15d085314600a2a8a12 (patch) | |
| tree | 48a7b348472dcb6767ac77e10aa6900eb5eda9aa /lisp/progmodes/ruby-mode.el | |
| parent | e2a67bd08ea194da1b338c69c4da6e539782cb14 (diff) | |
| download | emacs-2f313daf4ad1b1c36423f15d085314600a2a8a12.tar.gz emacs-2f313daf4ad1b1c36423f15d085314600a2a8a12.zip | |
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
Diffstat (limited to 'lisp/progmodes/ruby-mode.el')
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 9 |
1 files changed, 6 insertions, 3 deletions
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. | |||
| 265 | :version "24.4") | 265 | :version "24.4") |
| 266 | 266 | ||
| 267 | (defcustom ruby-align-chained-calls nil | 267 | (defcustom ruby-align-chained-calls nil |
| 268 | "If non-nil, chained method calls on multiple lines will be | 268 | "If non-nil, align chained method calls. |
| 269 | aligned to the same column. | 269 | |
| 270 | Each method call on a separate line will be aligned to the column | ||
| 271 | of its parent. | ||
| 270 | 272 | ||
| 271 | Only has effect when `ruby-use-smie' is t." | 273 | Only has effect when `ruby-use-smie' is t." |
| 272 | :type 'boolean | 274 | :type 'boolean |
| 273 | :group 'ruby | 275 | :group 'ruby |
| 274 | :safe 'booleanp) | 276 | :safe 'booleanp |
| 277 | :version "24.4") | ||
| 275 | 278 | ||
| 276 | (defcustom ruby-deep-arglist t | 279 | (defcustom ruby-deep-arglist t |
| 277 | "Deep indent lists in parenthesis when non-nil. | 280 | "Deep indent lists in parenthesis when non-nil. |