From 7bbd9ff872e23e111951101d66e355379853507a Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Wed, 14 Jan 2015 22:28:09 -0200 Subject: sx-open-link complains if it doesn't know what to do. --- sx-interaction.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sx-interaction.el b/sx-interaction.el index 97c68b6..21dde10 100644 --- a/sx-interaction.el +++ b/sx-interaction.el @@ -144,7 +144,11 @@ Element can be a question, answer, or comment." (sx-question-get-from-answer .site_par .id) 'focus)) (question (sx-display-question - (sx-question-get-question .site_par .id) 'focus)))))) + (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) + nil))))) ;;; Displaying -- cgit v1.2.3