Skip to content

Instantly share code, notes, and snippets.

@bdionne
Created December 14, 2012 21:03
Show Gist options
  • Save bdionne/4288663 to your computer and use it in GitHub Desktop.
Save bdionne/4288663 to your computer and use it in GitHub Desktop.
(defun erlang-flymake-bigcouch-get-include-dirs ()
(list (concat (erlang-flymake-get-app-dir) "include")
"/Users/bitdiddle/emacs/dbcore/deps"
"/Users/bitdiddle/emacs/dbcore/apps"
"/Users/bitdiddle/emacs/couchdb/src"
"/Users/bitdiddle/emacs/couchdb/src/couchdb"
"/Users/bitdiddle/emacs"
))
(setq erlang-flymake-get-include-dirs-function
'erlang-flymake-bigcouch-get-include-dirs)
(erlang-flymake-only-on-save)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment