From: John Mandereau Date: Wed, 10 Sep 2008 15:39:26 +0000 (+0200) Subject: Emacs mode: escape file name special characters in shell commands X-Git-Tag: release/2.11.58-1~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=261ea9f6485299a83af9009dde326c634c0be152;p=lilypond.git Emacs mode: escape file name special characters in shell commands --- diff --git a/elisp/lilypond-mode.el b/elisp/lilypond-mode.el index 769331fe03..80a3f298eb 100644 --- a/elisp/lilypond-mode.el +++ b/elisp/lilypond-mode.el @@ -638,8 +638,7 @@ Must be the car of an entry in `LilyPond-command-alist'." (base (cadr l))) (LilyPond-command-expand (concat (substring string 0 b) - dir - base + (shell-quote-argument (concat dir base)) (let ((entry (assoc (substring string b e) LilyPond-expand-alist))) (if entry (cdr entry) ""))