summaryrefslogtreecommitdiff
path: root/org-gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-12-06 17:12:21 +0200
committerThanos Apollo <[email protected]>2024-12-06 17:12:21 +0200
commit05ecfc3fe69cb9fed1844cb5b7e2b6f3601b79cc (patch)
tree2de6f7829eb20796067f1fb5d866dfbc4274d176 /org-gnosis.el
parent2bdd2247b4041f47b7c60cd1829f404ed659c48d (diff)
[fix] Adjust node titles
* Get links from within titles.
Diffstat (limited to 'org-gnosis.el')
-rw-r--r--org-gnosis.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/org-gnosis.el b/org-gnosis.el
index 65175fd..8b50a27 100644
--- a/org-gnosis.el
+++ b/org-gnosis.el
@@ -231,7 +231,8 @@ Removes all contents of FILE in database, adding them anew."
;; Add gnosis topic
(emacsql-with-transaction org-gnosis-db
(cl-loop for item in (butlast data)
- do (let ((title (plist-get item :title))
+ do (let ((title (org-gnosis-adjust-title
+ (plist-get item :title)))
(id (plist-get item :id))
(links (plist-get item :links))
;; (master (plist-get item :master))