diff options
author | Thomas Voss <thomas.voss@humanwave.nl> | 2025-06-13 11:46:17 +0200 |
---|---|---|
committer | Thomas Voss <thomas.voss@humanwave.nl> | 2025-06-13 11:46:17 +0200 |
commit | caedc2734d5acc6197beb82819fd7235273c63d7 (patch) | |
tree | 894486fb155442febdb533f3e8d5aa3f342ec4ee | |
parent | 7bebd2cdd8bbd8c15c2886879df013079f3e6d61 (diff) |
emacs: Don’t unset ‘vc-handled-backends’
-rw-r--r-- | .config/emacs/early-init.el | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/.config/emacs/early-init.el b/.config/emacs/early-init.el index b48d643..0dfbfa6 100644 --- a/.config/emacs/early-init.el +++ b/.config/emacs/early-init.el @@ -76,17 +76,14 @@ ;; set threshold to 8 MiB which seems to be a good middleground for now. ;; A higher threshold means less garbage collections but I’ve had issues ;; with those garbage collections causing long freezes when they occur. -(let ((saved-file-name-handler-alist file-name-handler-alist) - (saved-vc-handled-backends vc-handled-backends)) - (setopt file-name-handler-alist nil - vc-handled-backends nil) +(let ((saved-file-name-handler-alist file-name-handler-alist)) + (setopt file-name-handler-alist nil) (add-hook 'emacs-startup-hook (defun mm-restore-emacs-settings () (setopt gc-cons-threshold (* 1024 1024 8) gc-cons-percentage 0.1 - file-name-handler-alist saved-file-name-handler-alist - vc-handled-backends saved-vc-handled-backends)))) + file-name-handler-alist saved-file-name-handler-alist)))) ;;; Avoid Flashbang |