From 0899c19db1dcfffe76c5098f62944d6cff647e18 Mon Sep 17 00:00:00 2001 From: Xu Chunyang Date: Tue, 16 Jan 2024 23:50:36 +0800 Subject: [PATCH] Replace seq-uniq with cl-remove-duplicates for 24.4 I believe seq.el is from 25.1+ and needs (require 'seq) --- elisp-demos.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elisp-demos.el b/elisp-demos.el index 342f53a..e21e063 100644 --- a/elisp-demos.el +++ b/elisp-demos.el @@ -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."