diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-27 19:17:59 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-27 19:17:59 -0700 |
commit | 6c98308c92f1b399df435a258f044a0dceff660b (patch) | |
tree | 6dcd1fddfa9d8e5f4305da8b9b35006b6a139004 /emacs | |
parent | my-git: sim-pli-fy (diff) | |
download | emacs.d-6c98308c92f1b399df435a258f044a0dceff660b.tar.gz |
my-settings: more of the same
Diffstat (limited to '')
-rw-r--r-- | emacs/custom/my-settings.el | 15 |
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) |