mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/php: silence premature php-extras warning
This commit is contained in:
@ -70,6 +70,10 @@
|
||||
:config
|
||||
(setq php-extras-eldoc-functions-file
|
||||
(concat doom-etc-dir "php-extras-eldoc-functions"))
|
||||
;; Silence warning if `php-extras-eldoc-functions-file' hasn't finished
|
||||
;; generating yet.
|
||||
(defun php-extras-load-eldoc ()
|
||||
(require 'php-extras-eldoc-functions php-extras-eldoc-functions-file t))
|
||||
;; Make expensive php-extras generation async
|
||||
(unless (file-exists-p (concat php-extras-eldoc-functions-file ".el"))
|
||||
(message "Generating PHP eldoc files...")
|
||||
|
Reference in New Issue
Block a user