Skip to content

Commit

Permalink
Expand file name before passing to shell-command (cross-platform bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
semperos authored and technomancy committed May 30, 2011
1 parent f5999cd commit e2e607d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clojure-mode.el
Expand Up @@ -844,7 +844,7 @@ use (put-clojure-indent 'some-symbol 'defun)."
(setq clojure-root (if ido-mode
(ido-read-directory-name "Project: ")
(read-directory-name "Project: "))))
(shell-command (format clojure-swank-command clojure-root clojure-swank-port)
(shell-command (format clojure-swank-command (expand-file-name clojure-root) clojure-swank-port)
"*swank*")
(set-process-filter (get-buffer-process "*swank*")
(lambda (process output)
Expand Down

0 comments on commit e2e607d

Please sign in to comment.