aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2011-12-07 15:11:11 +0100
committerHenrik Nord <[email protected]>2011-12-07 15:11:19 +0100
commit194552427be23784a1918f91443232a7a9d5cf07 (patch)
tree2db821884b83ceac7dc2a7564698e1c627465723
parentf7241e210c333b088210a138c0880aa93d1f7780 (diff)
parentc0bd2971c56b4acfb6c1b9a380db60b4b89cfe5b (diff)
downloadotp-194552427be23784a1918f91443232a7a9d5cf07.tar.gz
otp-194552427be23784a1918f91443232a7a9d5cf07.tar.bz2
otp-194552427be23784a1918f91443232a7a9d5cf07.zip
Merge branch 'ka/flymake_include_deps'
* ka/flymake_include_deps: Add deps as erlang-flymake include directory. OTP-9791
-rw-r--r--lib/tools/emacs/erlang-flymake.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tools/emacs/erlang-flymake.el b/lib/tools/emacs/erlang-flymake.el
index bc368e9454..2e447b55de 100644
--- a/lib/tools/emacs/erlang-flymake.el
+++ b/lib/tools/emacs/erlang-flymake.el
@@ -60,7 +60,8 @@ check on newline and when there are no changes)."
(list (concat (erlang-flymake-get-app-dir) "ebin")))
(defun erlang-flymake-get-include-dirs ()
- (list (concat (erlang-flymake-get-app-dir) "include")))
+ (list (concat (erlang-flymake-get-app-dir) "include")
+ (concat (erlang-flymake-get-app-dir) "deps")))
(defun erlang-flymake-get-app-dir ()
(let ((src-path (file-name-directory (buffer-file-name))))