(bugfix): fix org-roam-graph--open (#456)

This commit is contained in:
Jethro Kuan 2020-04-14 16:31:14 +08:00 committed by GitHub
parent b33300a23d
commit 6bdde3a634
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -227,7 +227,7 @@ For building and showing the graph in a single step see `org-roam-graph-show'."
"Open FILE using `org-roam-graph-viewer', with `view-file' as a fallback."
(if (and org-roam-graph-viewer (executable-find org-roam-graph-viewer))
(call-process org-roam-graph-viewer nil 0 nil file)
(view-file temp-graph)))
(view-file file)))
(defun org-roam-graph-show (&optional node-query)
"Generate and display a graph showing the relations between nodes in NODE-QUERY.