From 773c795f2be273ac5a9326557c402ca8f1e28f50 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Thu, 12 Oct 2006 13:26:05 +0000 Subject: [PATCH] textmodes/reftex-global.el (reftex-create-tags-file): Quote file arguments. --- lisp/textmodes/reftex-global.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/textmodes/reftex-global.el b/lisp/textmodes/reftex-global.el index e1ae98a59df..b878c288735 100644 --- a/lisp/textmodes/reftex-global.el +++ b/lisp/textmodes/reftex-global.el @@ -38,7 +38,8 @@ The TAGS file is also immediately visited with `visit-tags-table'." (reftex-access-scan-info current-prefix-arg) (let* ((master (reftex-TeX-master-file)) (files (reftex-all-document-files)) - (cmd (format "etags %s" (mapconcat 'identity files " ")))) + (cmd (format "etags %s" (mapconcat 'shell-quote-argument + files " ")))) (save-excursion (set-buffer (reftex-get-file-buffer-force master)) (message "Running etags to create TAGS file...") -- 2.39.2