From 6013890fee70bf34fa10864be88a048b2ee00249 Mon Sep 17 00:00:00 2001 From: Ben Scuron Date: Fri, 7 Mar 2025 22:29:36 -0500 Subject: [PATCH] Fix TAGS regeneration with Universal Ctags * 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) --- lisp/progmodes/etags-regen.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/etags-regen.el b/lisp/progmodes/etags-regen.el index 14791c944ef..7994303284b 100644 --- a/lisp/progmodes/etags-regen.el +++ b/lisp/progmodes/etags-regen.el @@ -381,7 +381,7 @@ File extensions to generate the tags for." ;; 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)) -- 2.39.5