summaryrefslogtreecommitdiffstats
path: root/emacs.d/20-c-eldoc.el
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-04-18 19:50:51 +0200
committerGravatar Tom Willemsen2011-04-18 19:50:51 +0200
commite0717aee275200b8fab0b75a5417468158b6e318 (patch)
tree231ddc61b401ac3ea3eb5ed50a9e0479e1238183 /emacs.d/20-c-eldoc.el
parent1307626309deead2bd4a4a6fa0d1c4c60e707e39 (diff)
downloaddotfiles-e0717aee275200b8fab0b75a5417468158b6e318.tar.gz
dotfiles-e0717aee275200b8fab0b75a5417468158b6e318.zip
EMACS: Don't start eldoc for php
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
index 6269936..5f01f6b 100644
--- a/emacs.d/20-c-eldoc.el
+++ b/emacs.d/20-c-eldoc.el
@@ -1,3 +1,6 @@
(setq c-eldoc-includes "`pkg-config x11 --cflags` -I./ -I../")
(load "c-eldoc")
(add-hook 'c-mode-hook 'c-turn-on-eldoc-mode)
+(add-hook 'php-mode-hook
+ (lambda ()
+ (eldoc-mode -1)))