浏览代码

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


正在加载...
取消
保存