* lisp/progmodes/etags-regen.el (etags-regen--append-tags): Move
the "-o" option to before the filename, as Ctags doesn't allow
it to follow the file name. (Bug#76855)
Copyright-paperwork-exempt: yes
(cherry picked from commit
35c7837c6616b3a2b845ba06d3ed797bb12fb749)
;; Like 10ms vs 20ms here. But `shell-command' makes it easy to
;; direct stderr to a separate buffer.
(shell-command
- (format "%s %s %s -o -"
+ (format "%s %s -o - %s"
etags-regen-program (mapconcat #'identity options " ")
(mapconcat #'identity file-names " "))
t etags-regen--errors-buffer-name))