diff options
-rw-r--r-- | sx-button.el | 2 | ||||
-rw-r--r-- | sx-interaction.el | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sx-button.el b/sx-button.el index d32314d..2292ac9 100644 --- a/sx-button.el +++ b/sx-button.el @@ -105,7 +105,7 @@ usually part of a code-block." ;; whatever we thought it was. (condition-case nil (sx-open-link url) ;; When it errors, don't blame the user, just visit externally. - (error (sx-visit-externally url))))) + (error (browse-url url))))) ;;; Help-echo definitions 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)))))) |