aboutsummaryrefslogtreecommitdiff
path: root/sx-interaction.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-01-14 22:28:09 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-01-14 22:28:09 -0200
commit7bbd9ff872e23e111951101d66e355379853507a (patch)
treeecf64f2b1d6ede5a2be96df5a156e63dee817cfe /sx-interaction.el
parent42f302ab616264348a22107d6fb4d41632ec52a2 (diff)
sx-open-link complains if it doesn't know what to do.
Diffstat (limited to 'sx-interaction.el')
-rw-r--r--sx-interaction.el6
1 files changed, 5 insertions, 1 deletions
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