Commit Graph

8 Commits

Author SHA1 Message Date
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
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
5d94c667db
Update instructions in README 2022-08-24 02:51:08 +02:00
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
c8c96c65d0
Add missing require and parent group to org-unique-id gorup 2022-08-24 02:44:38 +02:00
ea91cc015f
Fix wrong regex 2021-06-15 18:39:23 +02:00
8618a7580a
Change some function names, add README, LICENSE and CONTRIBUTING 2021-06-15 18:32:21 +02:00
5d4d042612
Initial commit 2021-06-15 18:10:08 +02:00