gnu: emacs-pdf-tools: Fix byte compilation.

* gnu/packages/emacs.scm (emacs-pdf-tools)[arguments]: Add
emacs-set-emacs-load-path phase.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
This commit is contained in:
Maxim Cournoyer 2018-03-31 14:08:15 -04:00 committed by Arun Isaac
parent b5904fcc34
commit 259ed58fef
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 3 additions and 1 deletions

View File

@ -1473,7 +1473,9 @@ filters, new key bindings and faces. It can be enabled by
;; upgrading" that pdf-tools tries to perform.
(emacs-substitute-variables "pdf-tools.el"
("pdf-tools-handle-upgrades" '()))))
(add-after 'emacs-patch-variables 'emacs-install
(add-after 'emacs-patch-variables 'emacs-set-emacs-load-path
(assoc-ref emacs:%standard-phases 'set-emacs-load-path))
(add-after 'emacs-set-emacs-load-path 'emacs-install
(assoc-ref emacs:%standard-phases 'install))
(add-after 'emacs-install 'emacs-build
(assoc-ref emacs:%standard-phases 'build))