aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-04-23 12:43:01 +0100
committerYann Herklotz <git@yannherklotz.com>2023-04-23 12:43:01 +0100
commite52a48214b6e266ddaee945bc2fd3ea8a9b1e8c7 (patch)
tree390ffe48bf45a56ea86148ee8a4891f0b4e3713e
parent2220caaaf0648b468b9f6c4586f5fa40726d7e9c (diff)
downloadyannherklotz.com-e52a48214b6e266ddaee945bc2fd3ea8a9b1e8c7.tar.gz
yannherklotz.com-e52a48214b6e266ddaee945bc2fd3ea8a9b1e8c7.zip
Fix incrementing a number
-rw-r--r--content.org2
1 files changed, 1 insertions, 1 deletions
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