Browse Source

Disable dired-k

master
10sr 5 years ago
parent
commit
a89a2f9abd
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el View File

@@ -2507,6 +2507,7 @@ Any output will be written to current buffer."


) )


;; なんかよくわからないけど頻繁に index.lock を残してしまう
(when (fboundp 'dired-k) (when (fboundp 'dired-k)
(set-variable 'dired-k-style 'git) (set-variable 'dired-k-style 'git)


@@ -2519,7 +2520,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