(fix): fix org-roam-completions-everywhere (#1145)

Fix org-roam-completion-everywhere still producing fuzzy links
master
Jethro Kuan 6 years ago committed by GitHub
parent 2f4034cebc
commit 64d8ba1900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      org-roam.el

@ -1192,7 +1192,7 @@ This is active when `org-roam-completion-everywhere' is non-nil."
collection #'org-roam--get-titles
exit-fn (lambda (str _status)
(delete-char (- (length str)))
(insert "[[" str "]]")))))
(insert "[[roam:" str "]]")))))
(when collection
(let ((prefix (buffer-substring-no-properties start end)))
(list start end

Loading…
Cancel
Save