General refactor & cleanup, across the board

This commit is contained in:
Henrik Lissner 2019-09-13 21:59:03 -04:00
parent 4ddc5c194b
commit 2d365619cd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
35 changed files with 141 additions and 155 deletions

View file

@ -24,14 +24,3 @@ ignore the cache."
(require 'json)
(json-read-file package-file)))
(puthash project-root data +php-composer-conf))))))
;;;###autoload
(defun +php|init-ac-php-core-eldoc ()
"Initialize eldoc support for `php-mode' with `ac-php-core'. Fails gracefully
if phpctags isn't installed."
(require 'ac-php-core)
(cond ((not ac-php-ctags-executable))
((not (file-exists-p ac-php-ctags-executable))
(message "Could not find phpctags executable, eldoc support is disabled")
(message "To disable these warnings, set ac-php-ctags-executable to nil"))
((ac-php-core-eldoc-setup))))