emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 724da28763: Add version tags and mention the new options in NEW


From: Dmitry Gutov
Subject: emacs-29 724da28763: Add version tags and mention the new options in NEWS
Date: Fri, 30 Dec 2022 17:13:37 -0500 (EST)

branch: emacs-29
commit 724da28763c25f5dcd210b70e71f98bf5cbf5023
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Add version tags and mention the new options in NEWS
    
    * etc/NEWS: Mention the new options (bug#60186).
    
    * lisp/progmodes/ruby-mode.el (ruby-block-indent)
    (ruby-after-operator-indent, ruby-method-call-indent)
    (ruby-parenless-call-arguments-indent): Add version tags.
---
 etc/NEWS                    |  6 +++++-
 lisp/progmodes/ruby-mode.el | 12 ++++++++----
 2 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index d2e11e5adf..38b7865626 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2832,7 +2832,11 @@ project-dedicated or global) is specified by the new
 *** Support for endless methods.
 
 ---
-*** New user option 'ruby-method-params-indent'.
+*** New user options that determine indentation logic.
+'ruby-method-params-indent', 'ruby-block-indent',
+'ruby-after-operator-indent', 'ruby-method-call-indent',
+'ruby-parenless-call-arguments-indent'.  See the docstrings for
+explanations and examples.
 
 ** Eshell
 
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 021dda1a3e..3a86093941 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -306,7 +306,8 @@ containing the block's opener:
 
 Only has effect when `ruby-use-smie' is t."
   :type 'boolean
-  :safe 'booleanp)
+  :safe 'booleanp
+  :version "29.1")
 
 (defcustom ruby-after-operator-indent t
   "Non-nil to use structural indentation after binary operators.
@@ -326,7 +327,8 @@ Set it to nil to align to the beginning of the statement:
 
 Only has effect when `ruby-use-smie' is t."
   :type 'boolean
-  :safe 'booleanp)
+  :safe 'booleanp
+  :version "29.1")
 
 (defcustom ruby-method-call-indent t
   "Non-nil to use the structural indentation algorithm.
@@ -348,7 +350,8 @@ Set it to nil to align to the beginning of the statement:
 
 Only has effect when `ruby-use-smie' is t."
   :type 'boolean
-  :safe 'booleanp)
+  :safe 'booleanp
+  :version "29.1")
 
 (defcustom ruby-parenless-call-arguments-indent t
   "Non-nil to align arguments in a parenless call vertically.
@@ -369,7 +372,8 @@ Set it to nil to align to the beginning of the statement:
 
 Only has effect when `ruby-use-smie' is t."
   :type 'boolean
-  :safe 'booleanp)
+  :safe 'booleanp
+  :version "29.1")
 
 (defcustom ruby-deep-arglist t
   "Deep indent lists in parenthesis when non-nil.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]