mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
emacs: BREAKING stop using use-package for savehist
This commit is contained in:
parent
279164b6d4
commit
0a23c754d1
|
|
@ -177,15 +177,13 @@
|
|||
(prot/completions-tweak-style prot-common-truncate-lines-silently))))
|
||||
|
||||
;;;; `savehist' (minibuffer and related histories)
|
||||
(use-package savehist
|
||||
:ensure nil
|
||||
:hook (after-init . savehist-mode)
|
||||
:config
|
||||
(prot-emacs-configure
|
||||
(setq savehist-file (locate-user-emacs-file "savehist"))
|
||||
(setq history-length 100)
|
||||
(setq history-delete-duplicates t)
|
||||
(setq savehist-save-minibuffer-history t)
|
||||
(add-to-list 'savehist-additional-variables 'kill-ring))
|
||||
(add-to-list 'savehist-additional-variables 'kill-ring)
|
||||
(savehist-mode 1))
|
||||
|
||||
(use-package dabbrev
|
||||
:ensure nil
|
||||
|
|
|
|||
|
|
@ -4407,15 +4407,13 @@ basis.
|
|||
|
||||
#+begin_src emacs-lisp :tangle "prot-emacs-modules/prot-emacs-completion.el"
|
||||
;;;; `savehist' (minibuffer and related histories)
|
||||
(use-package savehist
|
||||
:ensure nil
|
||||
:hook (after-init . savehist-mode)
|
||||
:config
|
||||
(prot-emacs-configure
|
||||
(setq savehist-file (locate-user-emacs-file "savehist"))
|
||||
(setq history-length 100)
|
||||
(setq history-delete-duplicates t)
|
||||
(setq savehist-save-minibuffer-history t)
|
||||
(add-to-list 'savehist-additional-variables 'kill-ring))
|
||||
(add-to-list 'savehist-additional-variables 'kill-ring)
|
||||
(savehist-mode 1))
|
||||
#+end_src
|
||||
|
||||
*** The =prot-emacs-completion.el= settings for dynamic text expansion (~dabbrev~)
|
||||
|
|
|
|||
Loading…
Reference in a new issue