summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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