【问题标题】:how to deactivate vc-git in GNU Emacs?如何在 GNU Emacs 中停用 vc-git?
【发布时间】:2013-02-15 22:00:49
【问题描述】:

我用我的 Emacs 文本文件为该文件夹创建了一个 Git 存储库,然后安装了 git.el 和 Magit。

Emacs 似乎变慢了很多,我在 minibuffer 中不断看到消息 loading vc-git...done

我是否认为与 Git 交互会导致 Emacs 变慢?

我实际上并不需要使用 Emacs 来与 Git 交互,反正我通常只使用 GitHub。我从 .emacs 文件中删除了对 git.el 和 magit.el 的引用,但我仍然收到消息。

如何在 Emacs 中禁用 vc-git 以便再次快速工作?

【问题讨论】:

标签: git version-control emacs magit


【解决方案1】:

我把这个保存在我的.emacs

(setq vc-handled-backends ())

我确信有一种更优雅的方法可以专门禁用 vc-git,但由于我从不通过 Emacs 使用版本控制,所以它对我有用。

【讨论】:

    猜你喜欢
    • 2011-08-10
    • 1970-01-01
    • 1970-01-01
    • 2010-11-24
    • 2010-10-10
    • 1970-01-01
    • 1970-01-01
    • 2010-12-30
    • 2010-12-25
    相关资源
    最近更新 更多