summary refs log tree commit diff
path: root/emacs/custom/my-settings.el
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs/custom/my-settings.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/emacs/custom/my-settings.el b/emacs/custom/my-settings.el
index 7e6d15d..04d0182 100644
--- a/emacs/custom/my-settings.el
+++ b/emacs/custom/my-settings.el
@@ -4,7 +4,7 @@
 ;;; Code:
 (require 'use-package)
 
-(defvar my/custom-settings (expand-file-name "emacs-custom.el" user-emacs-directory)
+(defvar my/custom-settings (expand-file-name "var/emacs-custom.el" user-emacs-directory)
   "Path to Emacs custom variables.")
 
 ;; set utf-8 as the default encoding
@@ -46,6 +46,11 @@
       user-mail-address "franck@fcuny.net"
       add-log-mailing-address "franck@fcuny.net")
 
+(setq savehist-file (expand-file-name "var/history" user-emacs-directory))
+(setq url-history-file (expand-file-name "var/url-history" user-emacs-directory))
+(setq bookmark-file (expand-file-name "var/bookmarks" user-emacs-directory))
+(setq url-cookie-file (expand-file-name "var/cookies" user-emacs-directory))
+
 ;; delete buffers that have not been displayed in the last 3 days
 (use-package midnight
   :config