|
@@ -2487,8 +2487,11 @@ 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 |
|
|
;; TODO: Always up-to-date |
|
|
|
|
|
(add-hook 'dired-after-readin-hook #'dired-k-no-revert) |
|
|
(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)))) |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
(add-hook 'python-mode-hook |
|
|
(add-hook 'python-mode-hook |
|
|