From 043675e4522634a2e10e58f8ffdc710518154813 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Thu, 26 Mar 2015 20:00:24 +0000 Subject: Change a failed sx-open-link from message to error. This way sx-button-follow-link can catch it. --- sx-interaction.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sx-interaction.el') 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)))))) -- cgit v1.2.3