diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-03-26 20:00:24 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-03-26 20:02:41 +0000 |
commit | 043675e4522634a2e10e58f8ffdc710518154813 (patch) | |
tree | 5c7b5a3cc75a77da152857851ca938c3575c2884 /sx-button.el | |
parent | 6dc7c3c1ae61188e46fff00f9880a5ee27905df3 (diff) |
Change a failed sx-open-link from message to error.
This way sx-button-follow-link can catch it.
Diffstat (limited to 'sx-button.el')
-rw-r--r-- | sx-button.el | 2 |
1 files changed, 1 insertions, 1 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 |