summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-27 19:17:59 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-27 19:17:59 -0700
commit6c98308c92f1b399df435a258f044a0dceff660b (patch)
tree6dcd1fddfa9d8e5f4305da8b9b35006b6a139004 /emacs
parentmy-git: sim-pli-fy (diff)
downloademacs.d-6c98308c92f1b399df435a258f044a0dceff660b.tar.gz
my-settings: more of the same
Diffstat (limited to '')
-rw-r--r--emacs/custom/my-settings.el15
1 files changed, 6 insertions, 9 deletions
diff --git a/emacs/custom/my-settings.el b/emacs/custom/my-settings.el
index a49239a..40ecf48 100644
--- a/emacs/custom/my-settings.el
+++ b/emacs/custom/my-settings.el
@@ -47,18 +47,15 @@
       user-mail-address "franck@fcuny.net"
       add-log-mailing-address "franck@fcuny.net")
 
-(require 'savehist)
-(setq savehist-file (expand-file-name "var/history" user-emacs-directory))
-(setq history-length 1000)
-(setq history-delete-duplicates t)
-(setq savehist-save-minibuffer-history t)
+(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)
 (add-hook 'after-init-hook #'savehist-mode)
 
-(require 'midnight)
-(add-hook 'after-init-hook #'midnight-mode)
+(add-hook 'after-init-hook 'midnight-mode)
 
-(require 'saveplace)
-(setq save-place-forget-unreadable-files t)
+(customize-set-variable 'save-place-forget-unreadable-files t)
 (add-hook 'after-init-hook #'save-place-mode)
 
 (unless (and (fboundp 'server-running-p)