From d019bce1a3e174079ad0ed94e18a0080e632d36b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 9 Mar 2021 21:08:36 +0100 Subject: [PATCH] gnu: emacs-php-mode: Update to 1.24.0. * gnu/packages/emacs-xyz.scm (emacs-php-mode): Update to 1.24.0. [arguments]: Include "lisp/" directory, and add it to load path before byte-compiling. --- gnu/packages/emacs-xyz.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index aeaedc2597..b5785505a5 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -12313,7 +12313,7 @@ (define-public emacs-csharp-mode (define-public emacs-php-mode (package (name "emacs-php-mode") - (version "1.23.0") + (version "1.24.0") (source (origin (method git-fetch) @@ -12322,8 +12322,17 @@ (define-public emacs-php-mode (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0wnkcxg6djy4jvxhshiy1iw6b5cf79pjwjhfd1a060cavhfm4v5c")))) + (base32 "0bs9q62bd7885c39v7x1qz3w1fhpmpdgm72xwsk2yygw0ii425nn")))) (build-system emacs-build-system) + (arguments + `(#:include (cons "^lisp/" %default-include) + #:phases + (modify-phases %standard-phases + (add-after 'add-source-to-load-path 'add-lisp-dir-to-emacs-load-path + (lambda _ + (setenv "EMACSLOADPATH" + (string-append (getcwd) "/lisp:" (getenv "EMACSLOADPATH")))))))) + (propagated-inputs `(("emacs-projectile" ,emacs-projectile))) (home-page "https://github.com/ejmr/php-mode") (synopsis "Major mode for editing PHP code") (description