diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-03-26 20:00:24 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-03-26 20:02:41 +0000 |
commit | 043675e4522634a2e10e58f8ffdc710518154813 (patch) | |
tree | 5c7b5a3cc75a77da152857851ca938c3575c2884 /sx-interaction.el | |
parent | 6dc7c3c1ae61188e46fff00f9880a5ee27905df3 (diff) |
Change a failed sx-open-link from message to error.
This way sx-button-follow-link can catch it.
Diffstat (limited to 'sx-interaction.el')
-rw-r--r-- | sx-interaction.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sx-interaction.el b/sx-interaction.el index 43b1efc..8754c54 100644 --- a/sx-interaction.el +++ b/sx-interaction.el @@ -167,9 +167,8 @@ Element can be a question, answer, or comment." (question (sx-display-question (sx-question-get-question .site_par .id) 'focus)) - (t (sx-message - "Don't know how to open this link, please file a bug report: %s" - link) + (t (error "Don't know how to open this link, please file a bug report: %s" + link) nil)))))) |