; checkdoc.el: remove unnecessary regexp groups

* lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-next-string):
Remove remains from when the regexp was not written in rx.
This commit is contained in:
Mattias Engdegård 2023-09-26 13:33:54 +02:00
parent d082f46c8c
commit 215bfb24dd

View file

@ -2584,11 +2584,11 @@ Argument END is the maximum bounds to search in."
(rx "("
(* (syntax whitespace))
(group
(or (seq (* (group (or wordchar (syntax symbol))))
(or (seq (* (or wordchar (syntax symbol)))
"error")
(seq (* (group (or wordchar (syntax symbol))))
(seq (* (or wordchar (syntax symbol)))
(or "y-or-n-p" "yes-or-no-p")
(? (group "-with-timeout")))
(? "-with-timeout"))
"checkdoc-autofix-ask-replace"))
(+ (any "\n\t ")))
end t))