branch: externals/hyperbole
commit b467b5b4ca54ae95d6e9b65b2deb14af27c247ed
Author: bw <[email protected]>
Commit: bw <[email protected]>
hywiki--org-export-new-title-reference - Remove '--any' from dash.el
---
ChangeLog | 2 ++
hywiki.el | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 4d32c67d79..abeb4d441b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
* hywiki.el (hywiki-referent-menu): Re-add accidentally deleted "Keys" key
series referent type in the menu.
+ (hywiki--org-export-new-title-reference): Replace '--any' call from
+ dash.el package with 'cl-some'.
* test/hywiki-tests.el (hywiki-tests--convert-words-to-org-link): Fix to not
expect 'hy:' prefix in HyWiki Org links.
diff --git a/hywiki.el b/hywiki.el
index 6d0b98efd0..c27652406b 100644
--- a/hywiki.el
+++ b/hywiki.el
@@ -3268,8 +3268,8 @@ matching DATUM before creating a new reference."
(ref (hywiki--org-format-reference title))
(parent (org-element-property :parent datum))
raw-parent)
- (while (--any (equal ref (car it))
- cache)
+ (while (cl-some (lambda (elt) (equal ref (car elt)))
+ cache)
;; Title not unique: make it so.
(if parent
;; Append ancestor title.