From 4f58f906a49721af4b5e834db1f6ba5b4db2839a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 1 Apr 2014 21:58:28 +0100 Subject: Emacs: Replace buggy eldoc-php with php-extras --- emacs/init.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'emacs/init.el') 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)) -- cgit 1.4.1