feat: Follow VC'd symlinks w/o confirmation

This commit is contained in:
Madeleine Sydney
2025-01-16 13:04:43 -07:00
parent b47cc6809d
commit 2193ef3779

View File

@@ -10,6 +10,12 @@
:hook ((prog-mode-hook . display-line-numbers-mode)) :hook ((prog-mode-hook . display-line-numbers-mode))
:custom ((display-line-numbers-type 'relative) :custom ((display-line-numbers-type 'relative)
;; Always ask "y/n"; never "yes/no". ;; Always ask "y/n"; never "yes/no".
(use-short-answers t))) (use-short-answers t)
;; The default value is `ask', meaning that Emacs will ask for
;; confirmation any time you follow a symlink to a file under version
;; control. The documentation claims this is "dangerous, and
;; probably not what you want;" I personally don't see it, and it's
;; usually what I want.
(vc-follow-link t)))
(provide 'syd-ui) (provide 'syd-ui)