changeset 73345:6761fc81448f

textmodes/reftex-global.el (reftex-create-tags-file): Quote file arguments.
author Carsten Dominik <dominik@science.uva.nl>
date Thu, 12 Oct 2006 13:26:05 +0000
parents 0e74396bd134
children ba22be0026c7
files lisp/textmodes/reftex-global.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/reftex-global.el	Thu Oct 12 13:25:49 2006 +0000
+++ b/lisp/textmodes/reftex-global.el	Thu Oct 12 13:26:05 2006 +0000
@@ -38,7 +38,8 @@
   (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...")