From 963692f353090359b0513cc75abe92e7e7546bfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20H=C3=B6tzel?= Date: Sat, 25 Apr 2020 12:53:09 +0200 Subject: [PATCH] (bugfix): Fix invalid usage of error handler (#511) The error handler was never invoked when executing `org-roam-graph-viewer` failed --- org-roam-graph.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-roam-graph.el b/org-roam-graph.el index c1a8864..a5b3d62 100644 --- a/org-roam-graph.el +++ b/org-roam-graph.el @@ -216,7 +216,7 @@ into a digraph." (if (executable-find org-roam-graph-viewer) (condition-case err (call-process org-roam-graph-viewer nil 0 nil file) - ((error (user-error "Failed to open org-roam graph: %s" err)))) + (error (user-error "Failed to open org-roam graph: %s" err))) (user-error "Executable not found: \"%s\"" org-roam-graph-viewer))) ((pred functionp) (funcall org-roam-graph-viewer file)) ('nil (view-file file))