lang/php: fix interpolation in unquoted lambda

This commit is contained in:
Henrik Lissner 2018-08-09 01:02:47 +02:00
parent 56fcad4970
commit 3131bda98c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -58,10 +58,10 @@
(unless (file-exists-p (concat php-extras-eldoc-functions-file ".el")) (unless (file-exists-p (concat php-extras-eldoc-functions-file ".el"))
(message "Generating PHP eldoc files...") (message "Generating PHP eldoc files...")
(require 'async) (require 'async)
(async-start (lambda () (async-start `(lambda ()
,(async-inject-variables "\\`\\(load-path\\|php-extras-eldoc-functions-file\\)$") ,(async-inject-variables "\\`\\(load-path\\|php-extras-eldoc-functions-file\\)$")
(require 'php-extras-gen-eldoc) (require 'php-extras-gen-eldoc)
(php-extras-generate-eldoc-1 t)) (php-extras-generate-eldoc-1 t))
(lambda (_) (lambda (_)
(load (concat php-extras-eldoc-functions-file ".el")) (load (concat php-extras-eldoc-functions-file ".el"))
(message "PHP eldoc updated!"))))) (message "PHP eldoc updated!")))))