From: Carsten Dominik Date: Thu, 12 Oct 2006 13:26:05 +0000 (+0000) Subject: textmodes/reftex-global.el (reftex-create-tags-file): Quote file X-Git-Tag: emacs-pretest-22.0.90~149 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=773c795f2be273ac5a9326557c402ca8f1e28f50;p=emacs.git textmodes/reftex-global.el (reftex-create-tags-file): Quote file arguments. --- 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...")