branch: externals/osm
commit bf7e02e4492c4bc5cd31bd80e0cd26767c86d370
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>

    Add comment
---
 osm.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/osm.el b/osm.el
index d361aded75..b9b3fca09a 100644
--- a/osm.el
+++ b/osm.el
@@ -1749,6 +1749,9 @@ When called interactively, call the function `osm-home'."
                           (current-local-map)))))
     (completing-read prompt
                      (osm--table-with-metadata
+                      ;; Vertico only deletes consecutive duplicates for
+                      ;; performance, and we preserve order by using the
+                      ;; identity sort function.
                       (delete-dups (copy-sequence osm--search-history))
                       '((display-sort-function . identity)
                         (cycle-sort-function . identity)))

Reply via email to