;; Declare Lisp indentation rules for constructs that take 1 or 2
;; parameters before a body of RX forms.
-(dolist (sym '( group-n submatch-n = >=))
- (put sym 'lisp-indent-function 1))
-(dolist (sym '( ** repeat))
- (put sym 'lisp-indent-function 2))
+;; (`>=' and `=' are omitted because they are more likely to be used
+;; as Lisp functions than RX constructs.)
+(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)