Parcourir la source

Update dired-k config

master
10sr il y a 4 ans
Parent
révision
08b77b5889
Signé par: 10sr ID de la clé GPG: C384BB17CBB19347
1 fichiers modifiés avec 4 ajouts et 6 suppressions
  1. +4
    -6
      emacs.el

+ 4
- 6
emacs.el Voir le fichier

@@ -2858,12 +2858,10 @@ Any output will be written to current buffer."
;; always execute dired-k when dired buffer is opened and reverted
(add-hook 'dired-after-readin-hook #'dired-k-no-revert)

;; This causes:
;; fatal: Unable to create '.git/index.lock': File exist.s
;; (add-hook 'switch-buffer-functions
;; (lambda (prev cur)
;; (when (derived-mode-p 'dired-mode)
;; (dired-k-no-revert))))
(add-hook 'switch-buffer-functions
(lambda (prev cur)
(when (derived-mode-p 'dired-mode)
(dired-k-no-revert))))
)

;; ?


Chargement…
Annuler
Enregistrer