summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-12-05 18:44:05 -0500
committerDavid Thompson <dthompson2@worcester.edu>2022-12-05 18:44:05 -0500
commitc4527545b373c1449b11789b7894213892e20e5f (patch)
treed0b750868cac5b2029212e221f8ac75739ebc017
parent2c078d223cda4d156f7e478da87f0b053b1327c1 (diff)
emacs: Add inheritenv and buffer-env config.
-rw-r--r--dotfiles/.emacs.d/init.el15
1 files changed, 9 insertions, 6 deletions
diff --git a/dotfiles/.emacs.d/init.el b/dotfiles/.emacs.d/init.el
index e43303b..4eff60b 100644
--- a/dotfiles/.emacs.d/init.el
+++ b/dotfiles/.emacs.d/init.el
@@ -63,13 +63,16 @@
(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)
+(use-package inheritenv
+ :config
+ (inheritenv-add-advice 'shell-command-to-string)
+ (inheritenv-add-advice 'shell))
-;; (use-package buffer-env
-;; :config
-;; (add-hook 'hack-local-variables-hook 'buffer-env-update)
-;; :custom
-;; (buffer-env-script-name "guix.scm"))
+(use-package buffer-env
+ :config
+ (add-hook 'hack-local-variables-hook 'buffer-env-update)
+ :custom
+ (buffer-env-script-name "guix.scm"))
;;;