summary refs log tree commit diff stats
path: root/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 0ac222b..71a6475 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -1087,10 +1087,7 @@ Also returns nil if pid is nil."
             (if (eq env/location 'home)
                 (setq php-manual-url "http://docs.home/manual/en/"))
             (add-hook 'php-mode-hook #'php-enable-wordpress-coding-style)
-            (add-hook 'php-mode-hook (lambda ()
-                                       (set (make-local-variable 'eldoc-documentation-function) #'my-php-eldoc-function)))
-            (use-package eldoc-php
-              :config (turn-on-eldoc-mode))))
+            (add-hook 'php-mode-hook #'turn-on-eldoc-mode)))
 
 (use-package sgml-mode
   :config (setq sgml-basic-offset 4))