aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorKenny Ballou <kb@devnulllabs.io>2023-06-16 21:35:25 -0600
committerKenny Ballou <kb@devnulllabs.io>2023-06-16 21:35:25 -0600
commit3813bcc6a1ab875e92c5deea016361db00705ff1 (patch)
treeb4c52afd943bdd39b1149377147183ea1b4a6d20 /gnu
parentfa226fb668bf779493e1c31f04f07bbbdff26055 (diff)
downloaddotfiles-3813bcc6a1ab875e92c5deea016361db00705ff1.tar.gz
dotfiles-3813bcc6a1ab875e92c5deea016361db00705ff1.tar.xz
use XDG_STATE_HOME over XDG_LOG_HOME
Since f74df2ab87 (home: services: xdg-base-directories: Deprecate XDG_LOG_HOME., 2023-03-05), the `XDG_LOG_HOME` variable is being deprecated in favor of the `XDG_STATE_HOME` variable. Update usages of the former to the latter accordingly. Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/home-services/emacs.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/home-services/emacs.scm b/gnu/home-services/emacs.scm
index ff3dda06..41aae5ce 100644
--- a/gnu/home-services/emacs.scm
+++ b/gnu/home-services/emacs.scm
@@ -178,7 +178,7 @@ connect to it.")
(home-emacs-configuration-package config)
"/bin/emacs") "--fg-daemon")
#:log-file (string-append
- (or (getenv "XDG_LOG_HOME")
+ (or (getenv "XDG_STATE_HOME")
(format #f "~a/.local/var/log"
(getenv "HOME")))
"/emacs.log")))