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 | |
| 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
| -rw-r--r-- | etc/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/NEWS | 3 | ||||
| -rw-r--r-- | 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 @@ | |||
| 1 | 2014-01-31 Dmitry Gutov <dgutov@yandex.ru> | ||
| 2 | |||
| 3 | * NEWS: Mention `ruby-align-chained-calls'. | ||
| 4 | |||
| 1 | 2014-01-31 Alex Schroeder <alex@gnu.org> (tiny change) | 5 | 2014-01-31 Alex Schroeder <alex@gnu.org> (tiny change) |
| 2 | 6 | ||
| 3 | * gnus-tut.txt (Message-ID): Typo fix (bug#15556). | 7 | * gnus-tut.txt (Message-ID): Typo fix (bug#15556). |
| @@ -719,6 +719,9 @@ rather than mboxo. Customize `unrmail-mbox-format' to change this. | |||
| 719 | *** New option `ruby-align-to-stmt-keywords'. | 719 | *** New option `ruby-align-to-stmt-keywords'. |
| 720 | 720 | ||
| 721 | --- | 721 | --- |
| 722 | *** New option `ruby-align-chained-calls'. | ||
| 723 | |||
| 724 | --- | ||
| 722 | *** More Ruby file types have been added to `auto-mode-alist'. | 725 | *** More Ruby file types have been added to `auto-mode-alist'. |
| 723 | 726 | ||
| 724 | ** Search and Replace | 727 | ** Search and Replace |
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. |