From 77225e81a4dbb40ba91ba0d4064b72e18fba809d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 11 Apr 2024 20:09:49 +0300 Subject: [PATCH] etags-regen--tags-generate: Handle spaces in project root name * lisp/progmodes/etags-regen.el (etags-regen--tags-generate): Quote the tags file name (bug#70329). (cherry picked from commit af57516ed8991ea6238f1ec4907f9ce751cadb27) --- 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 6cd78d3577a..02d666ceff7 100644 --- a/lisp/progmodes/etags-regen.el +++ b/lisp/progmodes/etags-regen.el @@ -279,7 +279,7 @@ File extensions to generate the tags for." " ") ;; ctags's etags requires '-L' for stdin input. (if ctags-p "-L" "") - tags-file))) + (shell-quote-argument tags-file)))) (with-temp-buffer (mapc (lambda (f) (insert f "\n")) -- 2.39.5