summaryrefslogtreecommitdiffstats
path: root/emacs.d/20-c-eldoc.el
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-04-16 19:39:49 +0200
committerGravatar Tom Willemsen2011-04-16 19:39:49 +0200
commit0be324a314c0c5c0fdd7a35ed146bafe7d0850d7 (patch)
treee6c5ba3c3187ea960f015f3ef02108284bc104da /emacs.d/20-c-eldoc.el
parent9420f67c17e28249e5c1a0a39c85833fdb1ccd8d (diff)
downloaddotfiles-0be324a314c0c5c0fdd7a35ed146bafe7d0850d7.tar.gz
dotfiles-0be324a314c0c5c0fdd7a35ed146bafe7d0850d7.zip
Added c-eldoc
Diffstat (limited to 'emacs.d/20-c-eldoc.el')
-rw-r--r--emacs.d/20-c-eldoc.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs.d/20-c-eldoc.el b/emacs.d/20-c-eldoc.el
new file mode 100644
index 0000000..6269936
--- /dev/null
+++ b/emacs.d/20-c-eldoc.el
@@ -0,0 +1,3 @@
+(setq c-eldoc-includes "`pkg-config x11 --cflags` -I./ -I../")
+(load "c-eldoc")
+(add-hook 'c-mode-hook 'c-turn-on-eldoc-mode)