From 3e61146ea1009db8d48bf53422de799fed285a12 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 25 Apr 2020 16:15:13 -0400 Subject: Move ls-lisp config from init.el to lisp/bandali-dired.el. Also address byte-compiler warning. --- lisp/bandali-dired.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lisp') diff --git a/lisp/bandali-dired.el b/lisp/bandali-dired.el index f89676e..c4ab6ff 100644 --- a/lisp/bandali-dired.el +++ b/lisp/bandali-dired.el @@ -24,12 +24,17 @@ ;;; Code: +(use-package ls-lisp + :custom (ls-lisp-dirs-first t)) + (use-package dired :config (setq dired-dwim-target t dired-listing-switches "-alh" ls-lisp-use-insert-directory-program nil) + (declare-function dired-dwim-target-directory "dired-aux") + ;; easily diff 2 marked files ;; https://oremacs.com/2017/03/18/dired-ediff/ (defun dired-ediff-files () -- cgit v1.2.3-60-g2f50