From 9b69878816562041923753557001d8e2760dd942 Mon Sep 17 00:00:00 2001 From: Lin Jian Date: Thu, 7 Sep 2023 12:03:47 +0800 Subject: [PATCH] emacs: update the feature used for tramp-remote-path Since Emacs 28[1], tramp-remote-path is defined in tramp.el. [1]: https://git.savannah.gnu.org/cgit/emacs.git/commit/lisp/net?id=695f6792f1524a446d276bf5c5e53bbb4c200909 --- pkgs/applications/editors/emacs/site-start.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/emacs/site-start.el b/pkgs/applications/editors/emacs/site-start.el index b0694a90af0e..4e61777424c1 100644 --- a/pkgs/applications/editors/emacs/site-start.el +++ b/pkgs/applications/editors/emacs/site-start.el @@ -64,7 +64,7 @@ least specific (the system profile)" ;;; Make tramp work for remote NixOS machines (defvar tramp-remote-path) -(eval-after-load 'tramp-sh +(eval-after-load 'tramp ;; TODO: We should also add the other `NIX_PROFILES' to this path. ;; However, these are user-specific, so we would need to discover ;; them dynamically after connecting via `tramp'