all repos — nixfiles @ b5e488c04c53845801239590552c8187ce954c4b

System and user configuration, managed by nix and home-manager

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
Alan Pearce alan@alanpearce.eu
Sat, 30 Mar 2024 15:20:53 +0100
commit

b5e488c04c53845801239590552c8187ce954c4b

parent

7fa833b140c1078c7b347d7642c1afb5d6d245ca

2 files changed, 0 insertions(+), 5 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -611,10 +611,6 @@ (setq auto-revert-verbose nil                   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
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -65,7 +65,6 @@ extraPackages = epkgs: (with epkgs;       [
         ace-link
         apheleia
-        auto-sudoedit
         avy
         benchmark-init
         cape