summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-27 19:44:22 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-27 19:44:22 -0700
commitf23cd4c12d0f79b34c9cb75774307f489908ac29 (patch)
tree29168cc74173606a9f6360cc40cdb46a8ac879a9
parentmy-navigation: sim-pli-fy (diff)
downloademacs.d-f23cd4c12d0f79b34c9cb75774307f489908ac29.tar.gz
ensure we store local files under var/
Diffstat (limited to '')
-rw-r--r--emacs/custom/my-settings.el1
-rw-r--r--emacs/custom/my-text.el1
2 files changed, 2 insertions, 0 deletions
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)