summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-06-30 15:19:15 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2022-06-30 15:19:15 +0200
commit77e99dcacb57cae558f833334a8367fbc9b4fd8a (patch)
tree9d37dd5ef9e36a2d4dfbcf7c031598422414dce4
parenta68508c10b0ab60e23d13164bd6c83e38ce36f93 (diff)
downloademacs-77e99dcacb57cae558f833334a8367fbc9b4fd8a.tar.gz
; * lisp/emacs-lisp/rx.el: Don't set indentation prop for `repeat`.
-rw-r--r--lisp/emacs-lisp/rx.el3
1 files changed, 1 insertions, 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)