From b047b095375db5145ee2328b02346c19fc0de246 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 8 Oct 2019 21:27:12 +0200 Subject: Emacs: remove exec-path-from-shell. Not necessary with home-manager --- user/emacs/.emacs.d/main.el | 8 -------- user/modules/emacs.nix | 2 -- 2 files changed, 10 deletions(-) diff --git a/user/emacs/.emacs.d/main.el b/user/emacs/.emacs.d/main.el index 4ee62507..4a30df6a 100644 --- a/user/emacs/.emacs.d/main.el +++ b/user/emacs/.emacs.d/main.el @@ -8,14 +8,6 @@ (setq use-package-expand-minimally t)) (setq use-package-always-demand (daemonp)) -(use-package exec-path-from-shell - :if (eq system-type 'darwin) - :commands (exec-path-from-shell-initialize) - :custom ((exec-path-from-shell-arguments nil) - (exec-path-from-shell-debug t)) - :init (progn - (exec-path-from-shell-initialize))) - ;;; Customize (setq custom-file "~/.emacs.d/custom.el") diff --git a/user/modules/emacs.nix b/user/modules/emacs.nix index 10c87eeb..b6ac0395 100644 --- a/user/modules/emacs.nix +++ b/user/modules/emacs.nix @@ -138,8 +138,6 @@ in ws-butler which-key yaml-mode - ] ++ lib.optionals stdenv.isDarwin [ - exec-path-from-shell ] ++ lib.optionals (!stdenv.isDarwin) [ pkgs.mu ]); -- cgit 1.4.1