瀏覽代碼

Disable dired-k

master
10sr 5 年之前
父節點
當前提交
a89a2f9abd
簽署人: 10sr GPG Key ID: 7BEC428194130EB2
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el 查看文件

@@ -2507,6 +2507,7 @@ Any output will be written to current buffer."

)

;; なんかよくわからないけど頻繁に index.lock を残してしまう
(when (fboundp 'dired-k)
(set-variable 'dired-k-style 'git)

@@ -2519,7 +2520,7 @@ Any output will be written to current buffer."
;; `((,most-positive-fixnum)))

;; always execute dired-k when dired buffer is opened and reverted
(add-hook 'dired-after-readin-hook #'dired-k-no-revert)
;; (add-hook 'dired-after-readin-hook #'dired-k-no-revert)

;; This causes:
;; fatal: Unable to create '.git/index.lock': File exist.s


Loading…
取消
儲存