guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: emacs-php-mode: Fix installation prefix.


From: guix-commits
Subject: branch master updated: gnu: emacs-php-mode: Fix installation prefix.
Date: Tue, 06 Apr 2021 14:08:56 -0400

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 87aaccb  gnu: emacs-php-mode: Fix installation prefix.
87aaccb is described below

commit 87aaccbf5584eaca421e5e238534c79ef5fd4d2a
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Apr 6 13:35:56 2021 -0400

    gnu: emacs-php-mode: Fix installation prefix.
    
    * gnu/packages/emacs-xyz.scm (emacs-php-mode)
    [include]: Remove argument.
    [phases]{add-lisp-dir-to-emacs-load-path}: Remove phase.
    {enter-source-directory}: Add phase.
---
 gnu/packages/emacs-xyz.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 239915f..8e80ccb 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12486,13 +12486,11 @@ using Imenu, and Compilation mode support for 
MSBuild, devenv and xbuild.")
         (base32 "0bs9q62bd7885c39v7x1qz3w1fhpmpdgm72xwsk2yygw0ii425nn"))))
     (build-system emacs-build-system)
     (arguments
-     `(#:include (cons "^lisp/" %default-include)
-       #:phases
+     `(#:phases
        (modify-phases %standard-phases
-         (add-after 'add-source-to-load-path 'add-lisp-dir-to-emacs-load-path
+         (add-after 'unpack 'enter-source-directory
            (lambda _
-             (setenv "EMACSLOADPATH"
-                     (string-append (getcwd) "/lisp:" (getenv 
"EMACSLOADPATH"))))))))
+             (chdir "lisp"))))))
     (propagated-inputs `(("emacs-projectile" ,emacs-projectile)))
     (home-page "https://github.com/ejmr/php-mode";)
     (synopsis "Major mode for editing PHP code")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]