diff options
| author | Carsten Dominik | 2006-10-12 13:26:05 +0000 |
|---|---|---|
| committer | Carsten Dominik | 2006-10-12 13:26:05 +0000 |
| commit | 773c795f2be273ac5a9326557c402ca8f1e28f50 (patch) | |
| tree | 37d3b7f45f325243f18b9283642295a5e69fa87e | |
| parent | 5c7860471ff385b016955912a449767f2d30118a (diff) | |
| download | emacs-773c795f2be273ac5a9326557c402ca8f1e28f50.tar.gz emacs-773c795f2be273ac5a9326557c402ca8f1e28f50.zip | |
textmodes/reftex-global.el (reftex-create-tags-file): Quote file
arguments.
| -rw-r--r-- | lisp/textmodes/reftex-global.el | 3 |
1 files changed, 2 insertions, 1 deletions
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'." | |||
| 38 | (reftex-access-scan-info current-prefix-arg) | 38 | (reftex-access-scan-info current-prefix-arg) |
| 39 | (let* ((master (reftex-TeX-master-file)) | 39 | (let* ((master (reftex-TeX-master-file)) |
| 40 | (files (reftex-all-document-files)) | 40 | (files (reftex-all-document-files)) |
| 41 | (cmd (format "etags %s" (mapconcat 'identity files " ")))) | 41 | (cmd (format "etags %s" (mapconcat 'shell-quote-argument |
| 42 | files " ")))) | ||
| 42 | (save-excursion | 43 | (save-excursion |
| 43 | (set-buffer (reftex-get-file-buffer-force master)) | 44 | (set-buffer (reftex-get-file-buffer-force master)) |
| 44 | (message "Running etags to create TAGS file...") | 45 | (message "Running etags to create TAGS file...") |