summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.org10
1 files changed, 4 insertions, 6 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 77c4674..efb51a1 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -13,7 +13,9 @@ Open Emacs with just a plain window.  No graphics or messages, please!
      (setq inhibit-startup-echo-area-message (user-login-name)))
 (setq inhibit-startup-screen t)
 (setq gc-cons-threshold 100000000)
-(setq file-name-handler-alist nil)
+(setq file-name-handler-alist-backup file-name-handler-alist
+      file-name-handler-alist nil)
+(remove-hook 'find-file-hooks #'vc-find-file-hook)
 #+END_SRC
 
 ** Scratch buffers
@@ -2552,9 +2554,5 @@ Start a server if possible.  A daemon is already a server.
                                (unless (server-running-p server-name)
                                  (server-start)))))
 (setq gc-cons-threshold 800000
-      file-name-handler-alist '(("\\(?:\\.dz\\|\\.txz\\|\\.xz\\|\\.lzma\\|\\.lz\\|\\.g?z\\|\\.\\(?:tgz\\|svgz\\|sifz\\)\\|\\.tbz2?\\|\\.bz2\\|\\.Z\\)\\(?:~\\|\\.~[-[:alnum:]:#@^._]+\\(?:~[[:digit:]]+\\)?~\\)?\\'" . jka-compr-handler)
-                                ("\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'" . epa-file-handler)
-                                ("\\`/[^/]*\\'" . tramp-completion-file-name-handler)
-                                ("\\`/[^/|:][^/|]*:" . tramp-file-name-handler)
-                                ("\\`/:" . file-name-non-special)))
+      file-name-handler-alist file-name-handler-alist-backup)
 #+END_SRC