From 80d30f549f0701a89de546a62910d1958195c102 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 29 Apr 2022 08:59:15 -0700 Subject: 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. --- emacs/custom/my-settings.el | 6 ------ 1 file changed, 6 deletions(-) (limited to 'emacs/custom/my-settings.el') 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) -- cgit 1.4.1