aboutsummaryrefslogtreecommitdiff
path: root/sx-button.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-12-15 18:27:33 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-12-15 18:27:33 -0200
commit6956c17e1e7ef2899026ad365a0acdd4ce63cb80 (patch)
tree3f396981e2e5613c968ac3fee8d91ed2d762162b /sx-button.el
parentceaee4e85d44caad2db8adacdff2e2772bf254c0 (diff)
user-error is "not known to be defined" in emacs 24.2
Diffstat (limited to 'sx-button.el')
-rw-r--r--sx-button.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-button.el b/sx-button.el
index dbadc2e..1727a3d 100644
--- a/sx-button.el
+++ b/sx-button.el
@@ -96,7 +96,7 @@ code-block."
(interactive)
(browse-url
(or (get-text-property (or pos (point)) 'sx-button-url)
- (user-error "No url under point: %s" (or pos (point))))))
+ (sx-user-error "No url under point: %s" (or pos (point))))))
;;; Help-echo definitions