Browse Source

Update dired-k config

master
10sr 4 years ago
parent
commit
eb1e737c5d
Signed by: 10sr GPG Key ID: C384BB17CBB19347
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      emacs.el

+ 3
- 2
emacs.el View File

@@ -2875,7 +2875,8 @@ Any output will be written to current buffer."


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; dired-k ;; dired-k
;; なんかよくわからないけど頻繁に index.lock を残してしまう
;; Current HEAD of original repo is broken
;; https://github.com/syohex/emacs-dired-k/issues/45
(when (fboundp 'dired-k) (when (fboundp 'dired-k)
(set-variable 'dired-k-style 'git) (set-variable 'dired-k-style 'git)


@@ -2888,7 +2889,7 @@ Any output will be written to current buffer."
;; `((,most-positive-fixnum))) ;; `((,most-positive-fixnum)))


;; always execute dired-k when dired buffer is opened and reverted ;; 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: ;; This causes:
;; fatal: Unable to create '.git/index.lock': File exist.s ;; fatal: Unable to create '.git/index.lock': File exist.s


Loading…
Cancel
Save