arunisaac pushed a commit to branch master
in repository guix.

commit 259ed58fef670e71013e0ed1c26f07ef4b0fa10a
Author: Maxim Cournoyer <maxim.courno...@gmail.com>
Date:   Sat Mar 31 14:08:15 2018 -0400

    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 <arunis...@systemreboot.net>
---
 gnu/packages/emacs.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index a26fbd1..e96a69c 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -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))

Reply via email to