summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-09-07 16:57:31 +0200
committerAlan Pearce2017-09-07 16:57:31 +0200
commit25a441247067ce2a0f22c2eea69fc61738008d09 (patch)
treedad83edc47dd938882de7ac1e2771422a3d340b0
parent13519aff231476ae073a74313ba037df1b05ce80 (diff)
downloaddotfiles-25a441247067ce2a0f22c2eea69fc61738008d09.tar.lz
dotfiles-25a441247067ce2a0f22c2eea69fc61738008d09.tar.zst
dotfiles-25a441247067ce2a0f22c2eea69fc61738008d09.zip
Emacs: Disable crux-reopen-as-root-mode
It's annoying that it pops up when I follow a link to a source file in
an emacs help file.
-rw-r--r--emacs/.emacs.d/main.el2
1 files changed, 0 insertions, 2 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 2e8a393..0f1b353 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -519,8 +519,6 @@
          ("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)))