diff options
author | David Thompson <dthompson2@worcester.edu> | 2022-12-10 09:20:19 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2022-12-10 09:20:19 -0500 |
commit | 8cbb7d87b57f4007ee54b1c8ee339e0ee8ed9cf0 (patch) | |
tree | 8c6a0bde668e43ff46ccba6afd52532b94c91acc /dotfiles/.emacs.d | |
parent | 68fb376d4dcdec98a85ce8e3ae48156aacd3688e (diff) |
emacs: Remove inheritenv and tweak buffer-env config.
Diffstat (limited to 'dotfiles/.emacs.d')
-rw-r--r-- | dotfiles/.emacs.d/init.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/dotfiles/.emacs.d/init.el b/dotfiles/.emacs.d/init.el index 6b28b59..f3310a9 100644 --- a/dotfiles/.emacs.d/init.el +++ b/dotfiles/.emacs.d/init.el @@ -63,14 +63,11 @@ (guix-load-path '("~/.guix/current/share/guile/site/3.0")) (guix-load-compiled-path '("~/.guix/current/lib/guile/3.0/site-ccache"))) -(use-package inheritenv - :config - (inheritenv-add-advice 'shell-command-to-string) - (inheritenv-add-advice 'shell)) - +;; This config based on: https://amodernist.com/texts/emacs-guix.html (use-package buffer-env :config (add-hook 'hack-local-variables-hook 'buffer-env-update) + (add-hook 'comint-mode-hook #'hack-dir-local-variables-non-file-buffer) :custom (buffer-env-script-name '("guix.scm" "manifest.scm"))) |