Skip to content

Instantly share code, notes, and snippets.

@sluchin
Created December 23, 2012 22:20
Show Gist options
  • Save sluchin/4366432 to your computer and use it in GitHub Desktop.
Save sluchin/4366432 to your computer and use it in GitHub Desktop.
(defun list-system-header-files ()
(directory-files "/usr/include" nil "^.*\\.h$"))
(defvar system-header-files-cache (list-system-header-files))
(defvar ac-source-system-header-files
'((candidates . system-header-files-cache)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment