Function: semantic-remove-system-include
semantic-remove-system-include is an autoloaded, interactive and
byte-compiled function defined in dep.el.gz.
Signature
(semantic-remove-system-include DIR &optional MODE)
Documentation
Add a system include DIR to path for MODE.
Modifies a mode-local version of semantic-dependency-system-include-path.
Changes made by this function are not persistent.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/dep.el.gz
;;;###autoload
(defun semantic-remove-system-include (dir &optional mode)
"Add a system include DIR to path for MODE.
Modifies a mode-local version of `semantic-dependency-system-include-path'.
Changes made by this function are not persistent."
(interactive (list
(completing-read
"Include Directory to Remove: "
semantic-dependency-system-include-path))
)
(if (not mode) (setq mode major-mode))
(let ((dirtmp (file-name-as-directory dir))
(value
(mode-local-value mode 'semantic-dependency-system-include-path))
)
(setq value (remove dirtmp value))
(eval `(setq-mode-local ,mode semantic-dependency-system-include-path
',value)
t)))