diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index af80bfd..90dcb8c 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2020.0921.142856 +;; Version: 2020.0921.154031 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org-plus-contrib org-bullets org-edna diminish all-the-icons) ;; This program is free software; you can redistribute it and/or modify @@ -200,7 +200,7 @@ _l_: Store link ^^ _j_: Journal entry (insert (string-join (mapcar (lambda (link) (concat "- [[*" link "][" link "]]")) - (sort backlinks #'string<)) + (sort (seq-uniq backlinks #'string=) #'string<)) "\n")))) (defalias 'org-dblock-write:oni-backlinks 'oni-org-dblock-write-backlinks)