summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authornoa2025-02-16 21:44:52 +0800
committernoa2025-02-16 21:44:52 +0800
commitab4b108beb09c813761056aab4c3fd9a8dfd0d81 (patch)
treeb5b67f2e53d6b5d3a36073f50a15591a22c4a733 /emacs
parentd01dce8cfb42e28341a327cbf4eed28af428d1d8 (diff)
Clean up dired-du declaration
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 0d982f5..362787e 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -263,11 +263,10 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
 ;; Show the recursive size of directories
 (use-package dired-du
   :disabled t
-  :ensure t
+  :hook (dired-mode . dired-du-mode)
   :after dired
   :custom
-  (dired-du-size-format t)
-  :hook (dired-mode . dired-du-mode))
+  (dired-du-size-format t))
 
 ;; Some tramp settings.
 (setopt remote-file-name-inhibit-locks t)