Quellcode durchsuchen

Fix dired-k config

master
10sr vor 4 Jahren
Ursprung
Commit
8340ef1bed
Signiert von: 10sr GPG-Schlüssel-ID: 7BEC428194130EB2
1 geänderte Dateien mit 5 neuen und 4 gelöschten Zeilen
  1. +5
    -4
      emacs.el

+ 5
- 4
emacs.el Datei anzeigen

@@ -2413,10 +2413,11 @@ ARG is num to show, or defaults to 7."
;; always execute dired-k when dired buffer is opened and reverted
(add-hook 'dired-after-readin-hook #'dired-k-no-revert)

(add-hook 'switch-buffer-functions
(lambda (prev cur)
(when (derived-mode-p 'dired-mode)
(dired-k-no-revert))))
;; This still create index.lock files...........................
;; (add-hook 'switch-buffer-functions
;; (lambda (prev cur)
;; (when (derived-mode-p 'dired-mode)
;; (dired-k-no-revert))))
)))




Laden…
Abbrechen
Speichern