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.
This commit is contained in:
parent
bb62828fb1
commit
5f68af3913
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue