branch: externals/ivy commit c54fb1964fde82ec9bcd79a9e47176f473056c31 Merge: acb20ad74f 2529a23f9f Author: Basil L. Contovounesios <ba...@contovou.net> Commit: Basil L. Contovounesios <ba...@contovou.net>
Merge branch 'master' into externals/ivy --- ivy.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ivy.el b/ivy.el index cddd64aef8..8d94c2ce5d 100644 --- a/ivy.el +++ b/ivy.el @@ -2279,8 +2279,9 @@ customizations apply to the current completion session." ivy-text))) (cond ((equal item "")) ((stringp item) - (set hist (cons (propertize item 'ivy-index ivy--index) - (delete item (symbol-value hist))))))))) + (let ((history-delete-duplicates t)) + (add-to-history + hist (propertize item 'ivy-index ivy--index)))))))) (defun ivy--cleanup () ;; Fixes a bug in ESS, #1660