Better regex for generating custom org IDs
This commit is contained in:
parent
2885e1da34
commit
0f9975a7bf
@ -2279,7 +2279,7 @@
|
||||
(org-with-point-at pom
|
||||
(let* ((orgpath (mapconcat #'identity (org-get-outline-path) "-"))
|
||||
(heading (replace-regexp-in-string
|
||||
"/" "-"
|
||||
"/\\|~" ""
|
||||
(replace-regexp-in-string
|
||||
" " "_" (if (string= orgpath "")
|
||||
(org-get-heading t t t t)
|
||||
|
Loading…
Reference in New Issue
Block a user