]> git.donarmstrong.com Git - lilypond.git/commitdiff
Emacs mode: escape file name special characters in shell commands
authorJohn Mandereau <john.mandereau@gmail.com>
Wed, 10 Sep 2008 15:39:26 +0000 (17:39 +0200)
committerJohn Mandereau <john.mandereau@gmail.com>
Wed, 10 Sep 2008 15:39:26 +0000 (17:39 +0200)
elisp/lilypond-mode.el

index 769331fe0336090e0bdc42368981d316528af836..80a3f298ebbcb5dc3ea6bcdb86215e325fb320d0 100644 (file)
@@ -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) ""))