summaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2020-04-25 16:15:13 -0400
committerAmin Bandali <bandali@gnu.org>2020-04-25 16:15:13 -0400
commit3e61146ea1009db8d48bf53422de799fed285a12 (patch)
tree16e6dd16ed1472915f07089193f3e512b6964ef5 /lisp
parentaed4156cfc83f564311c31dffaa82486c41bb8c6 (diff)
downloadconfigs-3e61146ea1009db8d48bf53422de799fed285a12.tar.gz
configs-3e61146ea1009db8d48bf53422de799fed285a12.tar.xz
configs-3e61146ea1009db8d48bf53422de799fed285a12.zip
Move ls-lisp config from init.el to lisp/bandali-dired.el.
Also address byte-compiler warning.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/bandali-dired.el5
1 files changed, 5 insertions, 0 deletions
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 ()