Skip to content

Commit

Permalink
Use user-error instead of message
Browse files Browse the repository at this point in the history
  • Loading branch information
licht1stein committed Dec 18, 2023
1 parent 3814b08 commit 24ff6ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obsidian.el
Expand Up @@ -521,7 +521,7 @@ in `obsidian-directory' root.
(target (obsidian--get-alias choice (gethash choice dict))))
(if target
(find-file target)
(message "Note not found: %s" choice))
(user-error "Note not found: %s" choice))
))

;;;###autoload
Expand Down

0 comments on commit 24ff6ef

Please sign in to comment.