aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2022-01-07 08:19:43 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2022-01-07 08:19:43 +0000
commit4fbc3c2b01a051383bb7212f9d2df9a478960c1a (patch)
treee1dacb9c1e6e404cb86c4de6b13e112c6c0628c7 /Emacs/.config/emacs
parent045e5492d373f5aa0494702e38d732268bab1f84 (diff)
downloaddotfiles-4fbc3c2b01a051383bb7212f9d2df9a478960c1a.tar.gz
dotfiles-4fbc3c2b01a051383bb7212f9d2df9a478960c1a.tar.bz2
dotfiles-4fbc3c2b01a051383bb7212f9d2df9a478960c1a.zip
(Emacs)~no-littering straight-use-package->use-package
Make the form a bit nicer.
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r--Emacs/.config/emacs/config.org11
1 files changed, 5 insertions, 6 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 09fa607..a005e5d 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -37,12 +37,11 @@ Set the encoding to UTF-8-Unix by default.
Setup no-littering, which cleans up many of the default directories in
Emacs.
#+begin_src emacs-lisp
-(straight-use-package 'no-littering)
-
-(setq no-littering-etc-directory (expand-file-name ".config/" user-emacs-directory)
- no-littering-var-directory (expand-file-name ".local/" user-emacs-directory))
-
-(require 'no-littering)
+(use-package no-littering
+ :demand t
+ :init
+ (setq no-littering-etc-directory (expand-file-name ".config/" user-emacs-directory)
+ no-littering-var-directory (expand-file-name ".local/" user-emacs-directory)))
#+end_src
** File saves and custom file
Now let's setup file saving and auto-revert-mode. Along with that,