]> granicus.if.org Git - neomutt/commit
Add $history_remove_dups option to remove dups from history ring.
authorKevin McCarthy <kevin@8t8.us>
Sat, 13 May 2017 01:31:36 +0000 (18:31 -0700)
committerKevin McCarthy <kevin@8t8.us>
Sat, 13 May 2017 01:31:36 +0000 (18:31 -0700)
commit718d0538650f748f51d04b124ab5b7304f147620
tree4b804d0f7d6d3f40b9cf6bb0d318239b8840e7e6
parent31e6e4a1cb882a9363ce509745b7b286a42b0afa
Add $history_remove_dups option to remove dups from history ring.

When set, duplicate entries will be removed from the history ring when
a new entry is added.  The duplicate removal rearranges the history
ring such that created empty slots are right after the "last" position
in the ring, preserving the most history.

Rewrite the next/prev functions to take into account that blank slots can
now be in the middle of the array.
doc/manual.xml.head
history.c
init.h
mutt.h