From c652e60619760b8bdfb9d0a30ba5f4c0434baf68 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Thu, 12 Oct 2023 15:30:26 -0400 Subject: [PATCH] Move emacs config to .config/emacs. --- ansible/roles/emacs/files/elisp/base-extensions.el | 4 ++-- ansible/roles/emacs/tasks/peruser.yaml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ansible/roles/emacs/files/elisp/base-extensions.el b/ansible/roles/emacs/files/elisp/base-extensions.el index b958394..3c346c9 100644 --- a/ansible/roles/emacs/files/elisp/base-extensions.el +++ b/ansible/roles/emacs/files/elisp/base-extensions.el @@ -1,7 +1,7 @@ (use-package diminish) ;; Eglot recommends pulling the latest of the standard libraries it -;; uses from ELPA if you're not tracking the current emacs development +;; uses from ELPA if you're not tracking the current.config/emacsevelopment ;; branch. (use-package xref :pin gnu @@ -45,7 +45,7 @@ ;; This is an emacs built-in but we're pulling the latest version :config (setq recentf-max-saved-items 100) - (setq recentf-save-file (recentf-expand-file-name "~/.emacs.d/private/cache/recentf")) + (setq recentf-save-file (recentf-expand-file-name "~/.config/emacs/private/cache/recentf")) (recentf-mode 1)) ;; Persist history over Emacs restarts. Vertico sorts by history position. diff --git a/ansible/roles/emacs/tasks/peruser.yaml b/ansible/roles/emacs/tasks/peruser.yaml index 2d6b9c1..9ed3074 100644 --- a/ansible/roles/emacs/tasks/peruser.yaml +++ b/ansible/roles/emacs/tasks/peruser.yaml @@ -9,7 +9,7 @@ owner: "{{ account_name.stdout }}" group: "{{ group_name.stdout }}" loop: - - ".emacs.d/elisp" + - ".config/emacs/elisp" - name: Configure dotfiles when: 'emacs_flavor == "full"' @@ -21,9 +21,9 @@ group: "{{ group_name.stdout }}" loop: - src: init.el - dest: .emacs.d/init.el + dest: .config/emacs/init.el - src: early-init.el - dest: .emacs.d/early-init.el + dest: .config/emacs/early-init.el - name: Configure dotfiles when: 'emacs_flavor == "plain"' @@ -35,7 +35,7 @@ group: "{{ group_name.stdout }}" loop: - src: plainmacs_init.el - dest: .emacs.d/init.el + dest: .config/emacs/init.el - name: Configure elisp files when: 'emacs_flavor == "full"' @@ -46,7 +46,7 @@ group: "{{ group_name.stdout }}" loop: - src: elisp - dest: .emacs.d/ + dest: .config/emacs/ - name: Configure zshrc additional imports copy: