diff options
| author | Kim F. Storm | 2006-10-15 20:42:28 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-10-15 20:42:28 +0000 |
| commit | ff4e2883a3d5fb4cac7a328072712593931fb16b (patch) | |
| tree | a93764d73a8dfbf00d44d31281a1727a7d6e58b3 | |
| parent | 88b7c0e4d3904a5180d367495888f84574a4758c (diff) | |
| download | emacs-ff4e2883a3d5fb4cac7a328072712593931fb16b.tar.gz emacs-ff4e2883a3d5fb4cac7a328072712593931fb16b.zip | |
2006-10-15 Lennart Borgman <lennart.borgman.073@student.lu.se>
(flymake-get-project-include-dirs-imp): Use shell-quote-argument.
| -rw-r--r-- | lisp/progmodes/flymake.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 4f197e34bfe..b37be18188c 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el | |||
| @@ -1021,7 +1021,9 @@ For the format of LINE-ERR-INFO, see `flymake-ler-make-ler'." | |||
| 1021 | (progn | 1021 | (progn |
| 1022 | (flymake-get-project-include-dirs-from-cache basedir)) | 1022 | (flymake-get-project-include-dirs-from-cache basedir)) |
| 1023 | ;;else | 1023 | ;;else |
| 1024 | (let* ((command-line (concat "make -C\"" basedir "\" DUMPVARS=INCLUDE_DIRS dumpvars")) | 1024 | (let* ((command-line (concat "make -C " |
| 1025 | (shell-quote-argument basedir) | ||
| 1026 | " DUMPVARS=INCLUDE_DIRS dumpvars")) | ||
| 1025 | (output (shell-command-to-string command-line)) | 1027 | (output (shell-command-to-string command-line)) |
| 1026 | (lines (flymake-split-string output "\n")) | 1028 | (lines (flymake-split-string output "\n")) |
| 1027 | (count (length lines)) | 1029 | (count (length lines)) |