Fix malformed include path bug for c++-mode

Include paths were incorrectly escaped, causing -I options to be
ignored.
This commit is contained in:
Henrik Lissner 2017-09-20 03:09:56 +02:00
parent 65e142fdd1
commit ad013e96dd
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -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)))))