[cedet-semantic] semantic-add-system-include does not take effect
Brought to you by:
zappo
From: Chris <bb...@gm...> - 2009-12-19 13:54:36
|
I have this in my .emacs: (semantic-add-system-include "~/work/c/bash-src/bash-3.2/bash-3.2/" 'c-mode) But if I open a .c file, and check the variable semantic-dependency-system-include-path(C-h f semantic-add-system-include tells me it will modify this variable): Its value is ("/usr/local/include/" "/usr/lib/gcc/i486-linux-gnu/4.3.4/include/" "/usr/lib/gcc/i486-linux-gnu/4.3.4/include-fixed/" "/usr/include/i486-linux-gnu/" "/usr/include/") There isn't the directory I want to add into the system include path. If I opened the .c file first, and evaluate the statement above, the directory would then be added. Do I use semantic-add-system-include wrong? |