Skip to content

Commit

Permalink
Replace seq-uniq with cl-remove-duplicates for 24.4
Browse files Browse the repository at this point in the history
I believe seq.el is from 25.1+ and needs (require 'seq)
  • Loading branch information
xuchunyang committed Jan 16, 2024
1 parent f5ab666 commit 0899c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elisp-demos.el
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ If set, new notes are added to the first file in this list."
(delay-mode-hooks (org-mode))
(while (re-search-forward "^\\* +\\(.+\\)$" nil t)
(push (org-entry-get (point) "ITEM") symbols))))
(mapcar 'intern (sort (seq-uniq symbols) #'string<))))
(mapcar 'intern (sort (cl-remove-duplicates symbols :test #'eq) #'string<))))

(defun elisp-demos-find-demo (symbol)
"Find the demo of the SYMBOL."
Expand Down

0 comments on commit 0899c19

Please sign in to comment.