summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs/site-start.el
diff options
context:
space:
mode:
authorAlex Branham <alex.branham@gmail.com>2018-12-17 12:34:39 -0600
committerAlex Branham <alex.branham@gmail.com>2018-12-17 12:36:40 -0600
commitc08ec87fe31e7314cfc4f7cbf00af93ff1594294 (patch)
tree1cb43ae33b5552325833ad769f62d97d485330df /pkgs/applications/editors/emacs/site-start.el
parent58db4c1a7e821d153ac0e1826a653498af83708d (diff)
downloadnixpkgs-c08ec87fe31e7314cfc4f7cbf00af93ff1594294.tar
nixpkgs-c08ec87fe31e7314cfc4f7cbf00af93ff1594294.tar.gz
nixpkgs-c08ec87fe31e7314cfc4f7cbf00af93ff1594294.tar.bz2
nixpkgs-c08ec87fe31e7314cfc4f7cbf00af93ff1594294.tar.lz
nixpkgs-c08ec87fe31e7314cfc4f7cbf00af93ff1594294.tar.xz
nixpkgs-c08ec87fe31e7314cfc4f7cbf00af93ff1594294.tar.zst
nixpkgs-c08ec87fe31e7314cfc4f7cbf00af93ff1594294.zip
Emacs site-start: Use correct feature name
* pkgs/applications/editors/emacs/site-start.el (tramp-sh): Use
  correct feature name

Tramp upstream recently dropped the autoload cookie from
tramp-remote-path. This makes Emacs error when trying to load tramp.
Using the correct feature name fixes this.
Diffstat (limited to 'pkgs/applications/editors/emacs/site-start.el')
-rw-r--r--pkgs/applications/editors/emacs/site-start.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/emacs/site-start.el b/pkgs/applications/editors/emacs/site-start.el
index cc1ab1d0e30..34addc33a59 100644
--- a/pkgs/applications/editors/emacs/site-start.el
+++ b/pkgs/applications/editors/emacs/site-start.el
@@ -30,7 +30,7 @@ least specific (the system profile)"
                  woman-manpath)))
 
 ;;; Make tramp work for remote NixOS machines
-(eval-after-load 'tramp
+(eval-after-load 'tramp-sh
   ;; 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'