mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
fix lint
This commit is contained in:
@ -101,8 +101,8 @@ This is a `completion-at-point' function, and is active when
|
|||||||
(link
|
(link
|
||||||
(setq link-type (org-element-property :type link))
|
(setq link-type (org-element-property :type link))
|
||||||
(when (member link-type '("roam" "fuzzy"))
|
(when (member link-type '("roam" "fuzzy"))
|
||||||
(when (string= link-type "roam") (setq start (+ start (length "roam:"))))
|
(when (string= link-type "roam") (setq start (+ start (length "roam:"))))
|
||||||
(setq collection #'org-roam--get-titles))))))
|
(setq collection #'org-roam--get-titles))))))
|
||||||
(when collection
|
(when collection
|
||||||
(let ((prefix (buffer-substring-no-properties start end)))
|
(let ((prefix (buffer-substring-no-properties start end)))
|
||||||
(list start end
|
(list start end
|
||||||
|
Reference in New Issue
Block a user