From 77e99dcacb57cae558f833334a8367fbc9b4fd8a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Thu, 30 Jun 2022 15:19:15 +0200 Subject: [PATCH] ; * 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 182e48d7856..18eb168a70a 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) -- 2.39.5