emacs-diffs
[Top][All Lists]
Advanced

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

master 77e99dcacb: ; * lisp/emacs-lisp/rx.el: Don't set indentation prop


From: Mattias Engdegård
Subject: master 77e99dcacb: ; * lisp/emacs-lisp/rx.el: Don't set indentation prop for `repeat`.
Date: Thu, 30 Jun 2022 09:19:58 -0400 (EDT)

branch: master
commit 77e99dcacb57cae558f833334a8367fbc9b4fd8a
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    ; * lisp/emacs-lisp/rx.el: Don't set indentation prop for `repeat`.
---
 lisp/emacs-lisp/rx.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el
index 182e48d785..18eb168a70 100644
--- a/lisp/emacs-lisp/rx.el
+++ b/lisp/emacs-lisp/rx.el
@@ -1113,11 +1113,10 @@ can expand to any number of values."
 ;; Declare Lisp indentation rules for constructs that take 1 or 2
 ;; parameters before a body of RX forms.
 ;; (`>=' and `=' are omitted because they are more likely to be used
-;; as Lisp functions than RX constructs.)
+;; as Lisp functions than RX constructs; `repeat' is a `defcustom' type.)
 (put 'group-n 'lisp-indent-function 1)
 (put 'submatch-n 'lisp-indent-function 1)
 (put '** 'lisp-indent-function 2)
-(put 'repeat 'lisp-indent-function 2)
 
 
 (defun rx--translate (item)



reply via email to

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