diff options
author | Spencer Williams <spnw@plexwave.org> | 2025-04-14 18:33:20 -0400 |
---|---|---|
committer | Spencer Williams <spnw@plexwave.org> | 2025-04-14 18:33:20 -0400 |
commit | 75ced1b4ce53628dd900c7093544da4929e8a7e4 (patch) | |
tree | b30ccdeb5473fede58fc9d37a8d94568f4dd372a /lisp | |
parent | fc34a26c5f9dfc2a05594baddd5940984ee80bad (diff) |
Switch to cl-sort (Emacs 29 compat)
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/seam-export.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/seam-export.el b/lisp/seam-export.el index 7fa6c2d..9696eec 100644 --- a/lisp/seam-export.el +++ b/lisp/seam-export.el @@ -226,12 +226,12 @@ notes)." (defun seam-export--generate-backlinks (file) (seam-export--to-string - (let ((files (sort + (let ((files (cl-sort (let ((seam--subset seam-export--types)) (cl-loop for x in (seam-get-links-to-file file) collect (cons (seam-get-title-from-file x) x))) - :key #'car - :lessp #'string<))) + #'string< + :key #'car))) (when files (cl-loop for (title . file) in files do (insert (format "- [[seam:%s][%s]]\n" (file-name-base file) title))))))) |