mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
(sgml-validate): Quote the file name with shell-quote-argument.
This commit is contained in:
parent
d695bd172e
commit
da8092ef54
@ -920,9 +920,10 @@ and move to the line in the SGML document that caused it."
|
||||
(or sgml-saved-validate-command
|
||||
(concat sgml-validate-command
|
||||
" "
|
||||
(let ((name (buffer-file-name)))
|
||||
(and name
|
||||
(file-name-nondirectory name))))))))
|
||||
(shell-quote-argument
|
||||
(let ((name (buffer-file-name)))
|
||||
(and name
|
||||
(file-name-nondirectory name)))))))))
|
||||
(setq sgml-saved-validate-command command)
|
||||
(save-some-buffers (not compilation-ask-about-save) nil)
|
||||
(compilation-start command))
|
||||
|
Loading…
Reference in New Issue
Block a user