From 19f9769af3ab9bfca4d43c59caccbcfa2061b9f0 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 26 Apr 2022 19:15:06 -0700 Subject: dired: simplify so we don't need to require --- emacs/custom/my-dired.el | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'emacs') diff --git a/emacs/custom/my-dired.el b/emacs/custom/my-dired.el index 8dba7a0..ee04d6e 100644 --- a/emacs/custom/my-dired.el +++ b/emacs/custom/my-dired.el @@ -4,16 +4,10 @@ ;;; Code: -(require 'dired) -(require 'ls-lisp) - -(setq-default dired-dwim-target t) -(setq-default dired-listing-switches "-alh") -(setq dired-recursive-deletes 'always) -(setq dired-recursive-copies 'always) - -(setq ls-lisp-use-insert-directory-program nil) -(setq ls-lisp-dirs-first t) +(customize-set-variable 'dired-dwim-target t) +(customize-set-variable 'dired-listing-switches "-ahl") +(customize-set-variable 'dired-recursive-deletes 'always) +(customize-set-variable 'dired-recursive-copies 'always) (provide 'my-dired) ;;; my-dired.el ends here -- cgit 1.4.1