diff options
| author | Thanos Apollo <public@thanosapollo.org> | 2026-02-23 00:12:43 +0200 |
|---|---|---|
| committer | Thanos Apollo <public@thanosapollo.org> | 2026-02-23 00:48:28 +0200 |
| commit | f96b82512bccf0c7fce996bf229e88ec7fac3a35 (patch) | |
| tree | 229cd84a9b91014b6a9faa80265eb74badb695cf | |
| parent | 97f35ad24a6aa471cb1321b32dd4c15c7087706a (diff) | |
[fix] find: Remove redundant expression and update error message.
| -rw-r--r-- | org-gnosis.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org-gnosis.el b/org-gnosis.el index 308236d..9b4905c 100644 --- a/org-gnosis.el +++ b/org-gnosis.el @@ -569,7 +569,7 @@ DIRECTORY." "Select gnosis node: " (org-gnosis-select 'title 'nodes))))) (file (or file (caar (org-gnosis-select 'file 'nodes `(= title ,title))))) - (id (or id (caar (or id (org-gnosis-select 'id 'nodes `(= title ,title)))))) + (id (or id (caar (org-gnosis-select 'id 'nodes `(= title ,title))))) (directory (or directory org-gnosis-dir)) (templates (or templates org-gnosis-node-templates))) (cond ((null file) @@ -578,7 +578,7 @@ DIRECTORY." ((file-exists-p (expand-file-name file directory)) (org-gnosis-goto-id id)) (t (error - "File %s does not exist. Try running `org-gnosis-db-sync' to resolve this" + "File %s does not exist. Try running `org-gnosis-db-force-sync' to resolve this" file))))) (defun org-gnosis--nodes-by-tag (tag) |
