From 261ea9f6485299a83af9009dde326c634c0be152 Mon Sep 17 00:00:00 2001 From: John Mandereau Date: Wed, 10 Sep 2008 17:39:26 +0200 Subject: [PATCH] Emacs mode: escape file name special characters in shell commands --- elisp/lilypond-mode.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) "")) -- 2.39.5