瀏覽代碼

Update dired-k config

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

+ 3
- 2
emacs.el 查看文件

@@ -2875,7 +2875,8 @@ Any output will be written to current buffer."

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; dired-k
;; なんかよくわからないけど頻繁に index.lock を残してしまう
;; Current HEAD of original repo is broken
;; https://github.com/syohex/emacs-dired-k/issues/45
(when (fboundp 'dired-k)
(set-variable 'dired-k-style 'git)

@@ -2888,7 +2889,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…
取消
儲存