瀏覽代碼

Stop global-magit-file-mode enabled on load

master
10sr 5 年之前
父節點
當前提交
e8002f2a4d
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 7 行新增0 行删除
  1. +7
    -0
      emacs.el

+ 7
- 0
emacs.el 查看文件

@@ -796,6 +796,13 @@ found, otherwise returns nil."
;; Include some extra modes
(require 'generic-x)

(with-eval-after-load 'magit-files
;; `global-magit-file-mode' is enabled by default and this mode overwrites
;; existing keybindings.
;; Apparently it is a HARMFUL behavior and should be fixed, but for now
;; disable this mode here.
(global-magit-file-mode -1))

(when (safe-require-or-eval 'aggressive-indent)
(defvar aggressive-indent-excluded-modes)
(add-to-list 'aggressive-indent-excluded-modes


Loading…
取消
儲存