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.
This commit is contained in:
Nicolas Goaziou 2021-03-09 21:08:36 +01:00
parent eb4ed63fc4
commit d019bce1a3
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -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