aboutsummaryrefslogtreecommitdiffstats
path: root/oni-core.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-11-13 16:58:38 -0800
committerGravatar Tom Willemse2022-11-13 16:58:38 -0800
commitfac5c04ce56ec37600281947c818bda5009b4726 (patch)
treeb176c2632647589ba8d892e508f48fcfb026a0c4 /oni-core.el
parent0d1231487764621ac3eb9c3b794d947b49378844 (diff)
downloademacs-config-fac5c04ce56ec37600281947c818bda5009b4726.tar.gz
emacs-config-fac5c04ce56ec37600281947c818bda5009b4726.zip
[oni-core] Remove duplicate entries from history
Diffstat (limited to 'oni-core.el')
-rw-r--r--oni-core.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/oni-core.el b/oni-core.el
index 00c347f..179ea2d 100644
--- a/oni-core.el
+++ b/oni-core.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2022.1113.165518
+;; Version: 2022.1113.165538
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview mixed-pitch ace-window vertico marginalia orderless consult embark docstr)
;; This program is free software; you can redistribute it and/or modify
@@ -153,6 +153,9 @@ _s_: String list"
(setq inhibit-startup-screen t)
(setq electric-pair-skip-whitespace 'chomp)
(setq fit-window-to-buffer-horizontally t)
+;; Discovered through
+;; https://github.com/novoid/dot-emacs/blob/23c28944f1991c636ea71ec7d5c3d266e6dbeb8a/config.org#deletes-duplicate-entries-of-the-history-of-the-minibuffer
+(setq history-delete-duplicates t)
;; (setq dashboard-footer-messages
;; '("Play more in order to learn more"