aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
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,