branch: externals/gnosis
commit ac70d44dc6c5a430c029386d2c26039080dcaa3b
Author: Thanos Apollo <[email protected]>
Commit: Thanos Apollo <[email protected]>

    [fix] dashboard-bulk-link: prevent nil ids from being passed.
---
 gnosis-dashboard.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnosis-dashboard.el b/gnosis-dashboard.el
index ae5714f302..10112fe42e 100644
--- a/gnosis-dashboard.el
+++ b/gnosis-dashboard.el
@@ -1088,6 +1088,7 @@ DASHBOARD-TYPE: either Themata or Decks to display the 
respective dashboard."
   (interactive nil gnosis-dashboard-themata-mode)
   (let* ((ids (or gnosis-dashboard--selected-ids
                   gnosis-dashboard-themata-current-ids))
+         (_ (unless ids (user-error "No themata to link")))
          (string (read-string "String to replace: "))
          (nodes (org-gnosis-select '[id title] 'nodes))
          (node-title (gnosis-completing-read "Select node: " (mapcar #'cadr 
nodes)))

Reply via email to