(internal): remove compat functions (#1167)

* remove org-roam-link-make-string
* remove org-roam-link-store-props and org-roam-link-decode
This commit is contained in:
Jethro Kuan
2020-10-06 02:45:59 +08:00
committed by GitHub
parent ceee2348e0
commit 7a76f7b476
4 changed files with 5 additions and 19 deletions

View File

@ -823,7 +823,7 @@ Here, we also check if there is an ID for the file."
(setq type "id" target id))
(when (string-equal type "file")
(setq target (org-roam-link-get-path target)))
(org-roam-link-make-string (concat type ":" target) description))
(org-link-make-string (concat type ":" target) description))
(defun org-roam--prepend-tag-string (str tags)
"Prepend TAGS to STR."
@ -1763,7 +1763,7 @@ linked, lest the network graph get too crowded."
file-loc)))
(let ((rowcol (concat row ":" col)))
(insert "- "
(org-roam-link-make-string (concat "file:" file "::" rowcol)
(org-link-make-string (concat "file:" file "::" rowcol)
(format "[%s] %s" rowcol (org-roam--get-title-or-slug file))))
(when (executable-find "sed") ; insert line contents when sed is available
(insert " :: "