Sfoglia il codice sorgente

Disable dired-k

master
10sr 5 anni fa
parent
commit
a89a2f9abd
Firmato da: 10sr ID Chiave GPG: 7BEC428194130EB2
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el Vedi File

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


Caricamento…
Annulla
Salva