etags-regen--build-program-options: Expand the error message text

* lisp/progmodes/etags-regen.el (etags-regen--build-program-options):
Expand the error message text.
This commit is contained in:
Dmitry Gutov 2026-02-07 02:07:30 +02:00
parent cc9fea52a3
commit df517aa958

View file

@ -348,7 +348,7 @@ File extensions to generate the tags for."
(defun etags-regen--build-program-options (ctags-p)
(when (and etags-regen-regexp-alist ctags-p)
(user-error "etags-regen-regexp-alist is not supported with Ctags"))
(user-error "etags-regen-regexp-alist not supported with Ctags; to use this option, customize `etags-regen-program'"))
(nconc
(mapcan
(lambda (group)