summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-26 19:15:06 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-26 19:15:06 -0700
commit19f9769af3ab9bfca4d43c59caccbcfa2061b9f0 (patch)
tree2ad2789465961cb132e4afdff5fe9d5613af3674 /emacs
parenttext: configure (d)abbrev modes (diff)
downloademacs.d-19f9769af3ab9bfca4d43c59caccbcfa2061b9f0.tar.gz
dired: simplify so we don't need to require
Diffstat (limited to 'emacs')
-rw-r--r--emacs/custom/my-dired.el14
1 files changed, 4 insertions, 10 deletions
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