all repos — archive/dotfiles @ c0c0b1dd9d2524b4f868db5ee65cd9b6e4470d1c

Superseded by nixfiles

Emacs: Enable crux-reopen-as-root-mode
Alan Pearce alan@alanpearce.eu
Sat, 15 Jul 2017 15:55:27 +0200
commit

c0c0b1dd9d2524b4f868db5ee65cd9b6e4470d1c

parent

2ab7a9bfa48fce515ebda9febf13142731e1e600

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

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -538,6 +538,8 @@ ("C-x 4 t" . crux-transpose-windows)          ("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)))