diff options
author | Amin Bandali <bandali@gnu.org> | 2020-09-27 12:38:49 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2020-09-27 13:38:17 -0400 |
commit | 0596e3cf82c0d9a5bf898e027824c0a0229c65fb (patch) | |
tree | 26a50c9a5b730e46c3d2ae0e8abe255dc57d7169 /lisp | |
parent | 944ef93215ad453a4cdab9a2a6ebe3144b85b590 (diff) | |
download | configs-0596e3cf82c0d9a5bf898e027824c0a0229c65fb.tar.gz configs-0596e3cf82c0d9a5bf898e027824c0a0229c65fb.tar.xz configs-0596e3cf82c0d9a5bf898e027824c0a0229c65fb.zip |
Drop no-littering
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/bandali-dired.el | 10 | ||||
-rw-r--r-- | lisp/bandali-erc.el | 3 | ||||
-rw-r--r-- | lisp/bandali-eshell.el | 3 | ||||
-rw-r--r-- | lisp/bandali-org.el | 1 | ||||
-rw-r--r-- | lisp/bandali-projectile.el | 3 |
5 files changed, 16 insertions, 4 deletions
diff --git a/lisp/bandali-dired.el b/lisp/bandali-dired.el index 394715d..4755a64 100644 --- a/lisp/bandali-dired.el +++ b/lisp/bandali-dired.el @@ -25,10 +25,12 @@ ;;; Code: (with-eval-after-load 'dired - (csetq dired-dwim-target t - dired-listing-switches "-alh" - ls-lisp-dirs-first t - ls-lisp-use-insert-directory-program nil) + (csetq + dired-dwim-target t + dired-listing-switches "-alh" + dired-recent-directories-file (b/var "dired-recent-directories.el") + ls-lisp-dirs-first t + ls-lisp-use-insert-directory-program nil) (declare-function dired-dwim-target-directory "dired-aux") ;; easily diff 2 marked files diff --git a/lisp/bandali-erc.el b/lisp/bandali-erc.el index 0166140..754f7ee 100644 --- a/lisp/bandali-erc.el +++ b/lisp/bandali-erc.el @@ -25,11 +25,14 @@ ;;; Code: (with-eval-after-load 'erc + (make-directory (b/var "erc/dcc/") t) (csetq erc-auto-query 'bury erc-autojoin-domain-only nil + erc-dcc-get-default-directory (b/var "erc/dcc/") erc-format-nick-function 'erc-format-@nick erc-join-buffer 'bury + erc-log-channels-directory (b/var "erc/log-channels/") erc-lurker-hide-list '("JOIN" "PART" "QUIT") erc-nick "bandali" erc-prompt "erc>" diff --git a/lisp/bandali-eshell.el b/lisp/bandali-eshell.el index 5a83c6d..820dc05 100644 --- a/lisp/bandali-eshell.el +++ b/lisp/bandali-eshell.el @@ -25,7 +25,10 @@ ;;; Code: (with-eval-after-load 'eshell + (make-directory (b/etc "eshell/") t) (csetq + eshell-aliases-file (b/etc "eshell/aliases") + eshell-directory-name (b/var "eshell/") eshell-hist-ignoredups t eshell-input-filter #'eshell-input-filter-initial-space eshell-prompt-regexp "\\(.*\n\\)*[$#] " diff --git a/lisp/bandali-org.el b/lisp/bandali-org.el index ed2a3bd..38a4a5a 100644 --- a/lisp/bandali-org.el +++ b/lisp/bandali-org.el @@ -28,6 +28,7 @@ (csetq org-src-tab-acts-natively t org-src-preserve-indentation nil org-edit-src-content-indentation 0 + org-id-locations-file (b/var "org/id-locations.el") org-link-email-description-format "Email %c: %s" ; %.30s org-highlight-latex-and-related '(entities) org-use-speed-commands t diff --git a/lisp/bandali-projectile.el b/lisp/bandali-projectile.el index 41504e6..dbef93e 100644 --- a/lisp/bandali-projectile.el +++ b/lisp/bandali-projectile.el @@ -29,6 +29,7 @@ :defer 0.5 :bind-keymap ("C-c p" . projectile-command-map) :config + (make-directory (b/var "projectile/") t) (projectile-mode) (defun b/projectile-mode-line-fun () @@ -60,7 +61,9 @@ "C-c p x" "projectile/execute" "C-c p 4" "projectile/other-window")) :custom + (projectile-cache-file (b/var "projectile/cache.el")) (projectile-completion-system 'ivy) + (projectile-known-projects-file (b/var "projectile/known-projects.el")) (projectile-mode-line-prefix " proj")) (provide 'bandali-projectile) |