Pārlūkot izejas kodu

Disable dired-k

master
10sr pirms 5 gadiem
vecāks
revīzija
a89a2f9abd
Parakstījis: 10sr GPG atslēgas ID: 7BEC428194130EB2
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt