Emacs and symbolic links

后端 未结 4 872
忘掉有多难
忘掉有多难 2021-01-31 07:44

Say I have a symbolic link at /home/.bashrc that points to an actual .bashrc file somewhere else: /some/other/path/.bashrc that is under a git reposito

4条回答
  •  后悔当初
    2021-01-31 08:13

    If you don't know or care about Emacs' vc package, just do

    (setq vc-handled-backends nil)
    

    which entirely disables vc as well as this annoying message about following symbolic links.

    Then, you'll probably want to customize find-file-visit-truename depending on whether or not you want finding a file to follow symlinks or not.

提交回复
热议问题