From ad013e96dd60330fb8ed846a7bf67aeba4617f11 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 20 Sep 2017 03:09:56 +0200 Subject: [PATCH] Fix malformed include path bug for c++-mode Include paths were incorrectly escaped, causing -I options to be ignored. --- modules/lang/cc/autoload.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/cc/autoload.el b/modules/lang/cc/autoload.el index 4a53ac07b..046ed54db 100644 --- a/modules/lang/cc/autoload.el +++ b/modules/lang/cc/autoload.el @@ -77,6 +77,6 @@ compilation dbs." (irony-cdb--update-compile-options (append (delq nil (cdr-safe (assq major-mode +cc-compiler-options))) (cl-loop for path in +cc-include-paths - collect (format "-I %s" (shell-quote-argument path)))) + nconc (list "-I" path))) (doom-project-root)))))