From 58bce993949ca9a97808e69dc19ab2e84d8b3f14 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 27 Nov 2020 12:25:43 -0600 Subject: Wrap dired customizations in with-eval-after-load --- config.org | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config.org b/config.org index 1404afc..c756dbc 100644 --- a/config.org +++ b/config.org @@ -1096,11 +1096,12 @@ from [[https://github.com/alphapapa/unpackaged.el#org-return-dwim][unpackaged.el ** Dired #+begin_src emacs-lisp - (cuss dired-dwim-target t) - (cuss dired-listing-switches "-alDh") + (with-eval-after-load 'dired + (cuss dired-dwim-target t) + (cuss dired-listing-switches "-alDh") - (cuss wdired-allow-to-change-permissions t) - (bind-key "C-c w" #'wdired-change-to-wdired-mode dired-mode-map) + (cuss wdired-allow-to-change-permissions t) + (bind-key "C-c w" #'wdired-change-to-wdired-mode 'dired-mode-map)) #+end_src ** Proced -- cgit 1.4.1-21-gabe81