配置文件
(auto-completion :variables
auto-completion-enable-sort-by-usage t
auto-completion-enable-snippets-in-popup t
:disabled-for org markdown)
(c-c++ :variables
c-c++-default-mode-for-headers 'c++-mode
c-c++-enable-clang-support t)
出现错误:
clang failed with error 1:
/usr/bin/clang -fsyntax-only -Xclang -code-completion-macros -x c++ -Xclang -code-completion-at=-:250:8 -
clang存在
> ls /usr/bin/clang
lrwxrwxrwx 1 root root 18 Jul 10 22:21 /usr/bin/clang -> /usr/bin/clang-4.0