feat: Follow VC'd symlinks w/o confirmation
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user