* gnu/packages/emacs-xyz.scm (emacs-pdf-tools)[#:phases]: Use
emacs-expand-load-path instead of emacs-add-source-to-load-path.
* gnu/packages/erlang.scm (emacs-erlang)[#:phases]: Use expand-load-path
instead of add-source-to-load-path.
* gnu/packages/protobuf.scm (emacs-protobuf-mode)[#:phases]: Use
expand-load-path instead of add-source-to-load-path.
Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
("pdf-tools-handle-upgrades" '()))))
(add-after 'emacs-patch-variables 'emacs-expand-load-path
(assoc-ref emacs:%standard-phases 'expand-load-path))
- (add-after 'emacs-add-source-to-load-path 'emacs-install
+ (add-after 'emacs-expand-load-path 'emacs-install
(assoc-ref emacs:%standard-phases 'install))
(add-after 'emacs-install 'emacs-build
(assoc-ref emacs:%standard-phases 'build))
(arguments
`(#:phases
(modify-phases %standard-phases
- (add-before 'add-source-to-load-path 'change-working-directory
+ (add-before 'expand-load-path 'change-working-directory
(lambda _ (chdir "lib/tools/emacs") #t)))))
(home-page "https://www.erlang.org/")
(synopsis "Erlang major mode for Emacs")
(arguments
`(#:phases
(modify-phases %standard-phases
- (add-before 'add-source-to-load-path 'change-working-directory
+ (add-before 'expand-load-path 'change-working-directory
(lambda _ (chdir "editors") #t)))))
(home-page "https://github.com/protocolbuffers/protobuf")
(synopsis "Protocol buffers major mode for Emacs")