summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-07-15 15:55:27 +0200
committerAlan Pearce2017-07-15 15:55:27 +0200
commitc0c0b1dd9d2524b4f868db5ee65cd9b6e4470d1c (patch)
tree6ba13805ea914d454d9424272177696c9621ee23 /emacs
parent2ab7a9bfa48fce515ebda9febf13142731e1e600 (diff)
downloadnixfiles-c0c0b1dd9d2524b4f868db5ee65cd9b6e4470d1c.tar.lz
nixfiles-c0c0b1dd9d2524b4f868db5ee65cd9b6e4470d1c.tar.zst
nixfiles-c0c0b1dd9d2524b4f868db5ee65cd9b6e4470d1c.zip
Emacs: Enable crux-reopen-as-root-mode
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 7af73220..bc6cb69e 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -538,6 +538,8 @@ configuration with crux.el
          ("C-c e" . crux-eval-and-replace)
          ("C-c D" . crux-delete-file-and-buffer)
          ("C-c R" . crux-rename-file-and-buffer))
+  :config (progn
+            (crux-reopen-as-root-mode +1))
   :init (progn
           (defalias 'delete-current-buffer-file #'crux-delete-file-and-buffer)
           (defalias 'rename-current-buffer-file #'crux-rename-file-and-buffer)))