(ux): update the error message for org-roam-unlinked-references (#818)
Co-authored-by: Leo Vivier <leo.vivier+dev@gmail.com> Co-authored-by: Santiago Gepigon <santiago.gepigon@gmail.com>
This commit is contained in:
parent
0d5efe1c14
commit
9cf26494e8
1 changed files with 1 additions and 1 deletions
|
@ -1438,7 +1438,7 @@ linked, lest the network graph get too crowded."
|
||||||
(unless (org-roam--org-roam-file-p)
|
(unless (org-roam--org-roam-file-p)
|
||||||
(user-error "Not in org-roam file"))
|
(user-error "Not in org-roam file"))
|
||||||
(if (not (executable-find "rg"))
|
(if (not (executable-find "rg"))
|
||||||
(user-error "Cannot find the \"rg\" executable, aborting")
|
(error "Cannot find the ripgrep executable \"rg\". Check that it is installed and available on `exec-path'")
|
||||||
(let* ((titles (org-roam--extract-titles))
|
(let* ((titles (org-roam--extract-titles))
|
||||||
(rg-command (concat "rg -o --vimgrep -P -i "
|
(rg-command (concat "rg -o --vimgrep -P -i "
|
||||||
(string-join (mapcar (lambda (glob) (concat "-g " glob))
|
(string-join (mapcar (lambda (glob) (concat "-g " glob))
|
||||||
|
|
Loading…
Reference in a new issue