diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 4fba7ee0c8..4e12bb4813 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -223,7 +223,7 @@ (define-public emacs-erlang (arguments `(#:phases (modify-phases %standard-phases - (add-before 'set-emacs-load-path 'change-working-directory + (add-before 'add-source-to-load-path 'change-working-directory (lambda _ (chdir "lib/tools/emacs") #t))))) (home-page "https://www.erlang.org/") (synopsis "Erlang major mode for Emacs")