From: Eli Zaretskii Date: Thu, 11 Apr 2024 17:09:49 +0000 (+0300) Subject: etags-regen--tags-generate: Handle spaces in project root name X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=77225e81a4dbb40ba91ba0d4064b72e18fba809d;p=emacs.git 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) --- 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"))