From 4fbc3c2b01a051383bb7212f9d2df9a478960c1a Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 7 Jan 2022 08:19:43 +0000 Subject: (Emacs)~no-littering straight-use-package->use-package Make the form a bit nicer. --- Emacs/.config/emacs/config.org | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'Emacs') 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, -- cgit v1.2.3-13-gbd6f