aboutsummaryrefslogtreecommitdiff
path: root/sx-question-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'sx-question-mode.el')
-rw-r--r--sx-question-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-question-mode.el b/sx-question-mode.el
index 4e40e2c..37d50f9 100644
--- a/sx-question-mode.el
+++ b/sx-question-mode.el
@@ -456,7 +456,7 @@ URL is used as 'help-echo and 'url properties."
(interactive)
(browse-url
(or (get-text-property (or pos (point)) 'url)
- (error "No url under point: %s" (or pos (point))))))
+ (user-error "No url under point: %s" (or pos (point))))))
(defun sx-question-mode-find-reference (id &optional fallback-id)
"Find url identified by reference ID in current buffer.