From 5f68af3913218568567e41b39a5f674cc525abf5 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Sat, 5 Feb 2022 21:33:02 -0800 Subject: [PATCH] Switch to split-string I have an idea to limit the number of libraries that I use, but I don't know if that is really going to happen. --- rpgdm-tables-freq.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpgdm-tables-freq.el b/rpgdm-tables-freq.el index 65092a3..8a7f807 100644 --- a/rpgdm-tables-freq.el +++ b/rpgdm-tables-freq.el @@ -195,7 +195,7 @@ Calls `rpgdm-tables-choose' a number of ITERATIONS (defaults to 500)." (let ((accumulator (make-hash-table :test 'equal))) (dotimes (i iterations accumulator) (let* ((item (rpgdm-tables-choose table-name)) - (item-name (first (s-split " :: " item)))) + (item-name (first (split-string item " :: ")))) (incf (gethash item-name accumulator 0)))) accumulator))