aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-04-06 13:35:56 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-04-06 14:06:55 -0400
commit87aaccbf5584eaca421e5e238534c79ef5fd4d2a (patch)
treed33c9f50495657a40d3155a49bd8586c62980861 /gnu
parent5fd046cbfd73ac178c02c503f3d8e2104a929e52 (diff)
downloadguix-87aaccbf5584eaca421e5e238534c79ef5fd4d2a.tar
guix-87aaccbf5584eaca421e5e238534c79ef5fd4d2a.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm8
1 files changed, 3 insertions, 5 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 239915fffe..8e80ccbb56 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")