aboutsummaryrefslogtreecommitdiff
path: root/sx-question-list.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-question-list.el
parentceaee4e85d44caad2db8adacdff2e2772bf254c0 (diff)
user-error is "not known to be defined" in emacs 24.2
Diffstat (limited to 'sx-question-list.el')
-rw-r--r--sx-question-list.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/sx-question-list.el b/sx-question-list.el
index f23310c..e94c689 100644
--- a/sx-question-list.el
+++ b/sx-question-list.el
@@ -331,7 +331,7 @@ Non-interactively, DATA is a question alist."
(interactive
(list (if (derived-mode-p 'sx-question-list-mode)
(tabulated-list-get-id)
- (user-error "Not in `sx-question-list-mode'"))))
+ (sx-user-error "Not in `sx-question-list-mode'"))))
(sx-question--mark-hidden data)
(when (called-interactively-p 'any)
(sx-question-list-refresh 'redisplay 'noupdate)))
@@ -342,7 +342,7 @@ Non-interactively, DATA is a question alist."
(interactive
(list (if (derived-mode-p 'sx-question-list-mode)
(tabulated-list-get-id)
- (user-error "Not in `sx-question-list-mode'"))))
+ (sx-user-error "Not in `sx-question-list-mode'"))))
(sx-question--mark-read data)
(sx-question-list-next 1)
(when (called-interactively-p 'any)