summary refs log tree commit diff stats
path: root/emacs/init.el
diff options
context:
space:
mode:
authorAlan Pearce2014-04-01 21:58:28 +0100
committerAlan Pearce2014-04-01 21:58:28 +0100
commit4f58f906a49721af4b5e834db1f6ba5b4db2839a (patch)
tree1da74c3d14758c69589d0b18ca06a11338e226f5 /emacs/init.el
parente5a860c3b64437f3766cc6ea5af0a1111800635f (diff)
downloadnixfiles-4f58f906a49721af4b5e834db1f6ba5b4db2839a.tar.lz
nixfiles-4f58f906a49721af4b5e834db1f6ba5b4db2839a.tar.zst
nixfiles-4f58f906a49721af4b5e834db1f6ba5b4db2839a.zip
Emacs: Replace buggy eldoc-php with php-extras
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 0ac222bd..71a64754 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))