summary refs log tree commit diff stats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
authorAlan Pearce2019-07-10 22:35:09 +0200
committerAlan Pearce2019-07-10 22:35:09 +0200
commitd29a564b00f48b64ecbc695a59fa5f14828f977d (patch)
treef35080c63d2ca10c62183783a5840c5e4ede304f /emacs/.emacs.d
parenteb706278d86b0143a159164e898a236292cdaa87 (diff)
downloaddotfiles-d29a564b00f48b64ecbc695a59fa5f14828f977d.tar.lz
dotfiles-d29a564b00f48b64ecbc695a59fa5f14828f977d.tar.zst
dotfiles-d29a564b00f48b64ecbc695a59fa5f14828f977d.zip
Emacs: remove sudo prompts when reading Emacs source
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/main.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 15a1c6f..51a397d 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -21,7 +21,8 @@
 (setq custom-file "~/.emacs.d/custom.el")
 (load custom-file :noerror :nomessage)
 
-(use-package crux)
+(use-package crux
+  :custom ((crux-reopen-as-root-mode nil)))
 
 ;;; Styles