From f9d39124b941b8910f66147d00c6ceda91deda67 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Fri, 25 Oct 2019 13:00:28 +0900 Subject: [PATCH] Update dired-k configs --- emacs.el | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/emacs.el b/emacs.el index f8cce2f..abe9389 100644 --- a/emacs.el +++ b/emacs.el @@ -2381,6 +2381,7 @@ Any output will be written to current buffer." ;; dired-k seems to always create index.lock file so disabling temporarily (when (fboundp 'dired-k) (set-variable 'dired-k-style 'git) + ;; What is the best way of doing this? (with-eval-after-load 'dired-k (fset 'dired-k--highlight-by-file-attribyte 'ignore)) @@ -2389,12 +2390,6 @@ Any output will be written to current buffer." ;; (set-variable 'dired-k-date-colors ;; `((,most-positive-fixnum))) - (with-eval-after-load 'dired - ;; You can use dired-k alternative to revert-buffer - (defvar dired-mode-map) - ;; (define-key dired-mode-map (kbd "g") 'dired-k) - ) - ;; always execute dired-k when dired buffer is opened (add-hook 'dired-after-readin-hook #'dired-k-no-revert) )