Przeglądaj źródła

Disable dired-k

master
10sr 5 lat temu
rodzic
commit
a89a2f9abd
Podpisane przez: 10sr ID klucza GPG: 7BEC428194130EB2
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el Wyświetl plik

@@ -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


Ładowanie…
Anuluj
Zapisz