Pārlūkot izejas kodu

Update dired-k configs

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

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

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


Notiek ielāde…
Atcelt
Saglabāt