From f23cd4c12d0f79b34c9cb75774307f489908ac29 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 27 Apr 2022 19:44:22 -0700 Subject: ensure we store local files under var/ --- emacs/custom/my-settings.el | 1 + emacs/custom/my-text.el | 1 + 2 files changed, 2 insertions(+) diff --git a/emacs/custom/my-settings.el b/emacs/custom/my-settings.el index 40ecf48..a4cb1af 100644 --- a/emacs/custom/my-settings.el +++ b/emacs/custom/my-settings.el @@ -55,6 +55,7 @@ (add-hook 'after-init-hook 'midnight-mode) +(customize-set-variable 'save-place-file (expand-file-name "var/places" user-emacs-directory)) (customize-set-variable 'save-place-forget-unreadable-files t) (add-hook 'after-init-hook #'save-place-mode) diff --git a/emacs/custom/my-text.el b/emacs/custom/my-text.el index 86db788..1a1831a 100644 --- a/emacs/custom/my-text.el +++ b/emacs/custom/my-text.el @@ -16,6 +16,7 @@ (when (executable-find "pandoc") (customize-set-variable 'markdown-command "pandoc -f markdown -t html")) +(customize-set-variable 'abbrev-file-name (expand-file-name "var/abbrev_defs" user-emacs-directory)) (eval-after-load 'dabbrev (let ((map global-map)) (define-key map (kbd "M-/") #'dabbrev-expand) -- cgit 1.4.1