summary refs log tree commit diff
path: root/emacs/custom/my-settings.el
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-29 08:59:15 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-29 08:59:15 -0700
commit80d30f549f0701a89de546a62910d1958195c102 (patch)
treeecf3772952ad97d3dc1a008b0ee56944080f4a41 /emacs/custom/my-settings.el
parentmy-text: enable goto-address-mode (diff)
downloademacs.d-80d30f549f0701a89de546a62910d1958195c102.tar.gz
don't specify where to write Emacs files
We don't care, as long as these files are ignored in `.gitignore' it
does not matter where we write them.
Diffstat (limited to '')
-rw-r--r--emacs/custom/my-settings.el6
1 files changed, 0 insertions, 6 deletions
diff --git a/emacs/custom/my-settings.el b/emacs/custom/my-settings.el
index a4cb1af..ebb0cc5 100644
--- a/emacs/custom/my-settings.el
+++ b/emacs/custom/my-settings.el
@@ -4,9 +4,6 @@
 
 ;;; Code:
 
-(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
 (prefer-coding-system 'utf-8-unix)
 (setq locale-coding-system 'utf-8)
@@ -21,7 +18,6 @@
 (setq auto-save-list-file-prefix nil)            ;; no backups
 (setq create-lockfiles nil)                      ;; don't use a lock file
 (setq confirm-kill-emacs #'yes-or-no-p)          ;; ask before killing emacs
-(setq custom-file my/custom-settings)            ;; where to save custom settings
 (setq make-backup-files nil)                     ;; really no backups
 (setq minibuffer-message-timeout 0.5)            ;; How long to display an echo-area message
 (setq next-screen-context-lines 5)               ;; scroll 5 lines at a time
@@ -47,7 +43,6 @@
       user-mail-address "franck@fcuny.net"
       add-log-mailing-address "franck@fcuny.net")
 
-(customize-set-variable 'savehist-file (expand-file-name "var/history" user-emacs-directory))
 (customize-set-variable 'history-length 1000)
 (customize-set-variable 'history-delete-duplicates t)
 (customize-set-variable 'savehist-save-minibuffer-history t)
@@ -55,7 +50,6 @@
 
 (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)