summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2024-03-30 15:20:53 +0100
committerAlan Pearce2024-03-30 15:20:53 +0100
commitb5e488c04c53845801239590552c8187ce954c4b (patch)
tree5e23bf4918f3870c96c58b1aabfaf2165820a71a /user
parent7fa833b140c1078c7b347d7642c1afb5d6d245ca (diff)
downloadnixfiles-b5e488c04c53845801239590552c8187ce954c4b.tar.lz
nixfiles-b5e488c04c53845801239590552c8187ce954c4b.tar.zst
nixfiles-b5e488c04c53845801239590552c8187ce954c4b.zip
Emacs: don't automatically try to read files with sudo
It's annoying when I want to look at a file in the nix store and I
don't have much use for it otherwise
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el4
-rw-r--r--user/settings/emacs.nix1
2 files changed, 0 insertions, 5 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index acf96146..39fd0eee 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -611,10 +611,6 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
                   auto-revert-use-notify t)
             (global-auto-revert-mode t)))
 
-(use-package auto-sudoedit
-  :defer 3
-  :config (auto-sudoedit-mode))
-
 (setq delete-by-moving-to-trash t)
 
 (use-package goto-chg
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 47206e19..631b75c7 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -65,7 +65,6 @@ in
       [
         ace-link
         apheleia
-        auto-sudoedit
         avy
         benchmark-init
         cape