aboutsummaryrefslogtreecommitdiff
path: root/sx-interaction.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-01-24 00:55:47 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-01-24 00:55:47 -0200
commitaba5271db6bd54385cdef62d66cd88a606ea3c6d (patch)
treec2c44d4fdd1381da4f10a00126dffd4277908aad /sx-interaction.el
parentbf50c12f4697c6f1699cc35ef239e351c69d1e2a (diff)
parent34a3a31dd2fe6db30a31696148a236d58df4eee3 (diff)
Merge branch 'master' into tag-buttons
Diffstat (limited to 'sx-interaction.el')
-rw-r--r--sx-interaction.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-interaction.el b/sx-interaction.el
index 75b51ab..3d60cbe 100644
--- a/sx-interaction.el
+++ b/sx-interaction.el
@@ -138,7 +138,7 @@ Element can be a question, answer, or comment."
(list (read-string (concat "Link (" def "): ") nil nil def))))
;; For now, we have no chance of handling chat links, let's just
;; send them to the browser.
- (if (string-match (rx string-start "http" (opt "s") "://chat."))
+ (if (string-match (rx string-start "http" (opt "s") "://chat.") link)
(sx-visit-externally link)
(let ((data (sx--link-to-data link)))
(sx-assoc-let data