Commit Graph

9 Commits

Author SHA1 Message Date
Lucien Cartier-Tilet 1766d9c911
Version bump 2022-08-24 03:29:33 +02:00
Lucien Cartier-Tilet 1646098bfa
More readable regexes, fix a potential issue with a dash 2022-08-24 03:27:27 +02:00
Lucien Cartier-Tilet bc48314435
Fallback value
The `when' block would only return a string when the condition is
satisfied. If not, it returns `nil'. This is not acceptable, as
`postfix' is later used in a `concat'. This commit makes `postfix' an
empty string if the `when' condition fails in order to prevent this
concatenation issue.
2022-08-24 03:27:26 +02:00
Lucien Cartier-Tilet c303340523
Add local variables to ensure consistent formatting
Also edit formatting of comments and docstring to respect said
variables
2022-08-24 02:53:39 +02:00
Lucien Cartier-Tilet 975311184a
Add org-unique-id-maybe as a wrapper to org-unique-id
This new function allows for a cleaner hook addition. It also moves
the check for the presence of the auto-id option to this function.
This allows the user to call org-unique-id on any org buffer,
regardless of the presence of auto-id and its value.
2022-08-24 02:48:58 +02:00
Lucien Cartier-Tilet c8c96c65d0
Add missing require and parent group to org-unique-id gorup 2022-08-24 02:44:38 +02:00
Lucien Cartier-Tilet ea91cc015f
Fix wrong regex 2021-06-15 18:39:23 +02:00
Lucien Cartier-Tilet 8618a7580a
Change some function names, add README, LICENSE and CONTRIBUTING 2021-06-15 18:32:21 +02:00
Lucien Cartier-Tilet 5d4d042612
Initial commit 2021-06-15 18:10:08 +02:00