From e52a48214b6e266ddaee945bc2fd3ea8a9b1e8c7 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sun, 23 Apr 2023 12:43:01 +0100 Subject: Fix incrementing a number --- content.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.org b/content.org index f68845e..701732b 100644 --- a/content.org +++ b/content.org @@ -483,7 +483,7 @@ first create a simple =ymhg/incr-id= function which simply increments the last c #+end_src However, one problem is that if we get to an ID with a =9= at the end, it will wrap around and -generate a =0= at the end, followed by then generating an =a=, which will break the naming scheme. This +generate a =0= at the end, followed by then generating an =:=, which will break the naming scheme. This could simply be fixed by turning the last value of the ID into a number, incrementing that, and turning it back into the original representation. However, for the current purposes we'll just assume that manual intervention will be required sometimes. Then, to create the function that -- cgit