(fix) make roam headline link completion robust (#1473)

Fixes  #1472
This commit is contained in:
HyunggyuJang
2021-04-16 14:02:48 +09:00
committed by GitHub
parent 997ddcbf4b
commit 9065f6a999

View File

@ -318,7 +318,7 @@ DESC is the link description."
(if headline-only-p 1 0)))
(insert (concat (unless (string= link-type "roam") "roam:")
(when headline-only-p "*")
str))))))))
(org-link-escape str)))))))))
(provide 'org-roam-link)
;;; org-roam-link.el ends here