From a89a2f9abdc5ca77b0c8bac1a2e463228ccfbac3 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 17 Dec 2019 13:39:54 +0900 Subject: [PATCH] Disable dired-k --- emacs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 2e85414..9535a6f 100644 --- a/emacs.el +++ b/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