Commit 773c795f authored by Carsten Dominik's avatar Carsten Dominik
Browse files

textmodes/reftex-global.el (reftex-create-tags-file): Quote file

parent 5c786047
......@@ -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 " "))))
(set-buffer (reftex-get-file-buffer-force master))
(message "Running etags to create TAGS file...")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment