diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-29 18:44:20 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-12-29 18:47:27 -0200 |
commit | 00ccd139248e782cd8316eff65c26aed838c7e46 (patch) | |
tree | 72a637194401c9500cb43d34eb2f64c6648afcfe /sx-question.el | |
parent | 1267f300c850173e74dda0b7f704261b4a25b85c (diff) |
Don't barf if read-question cdr is not a date
Diffstat (limited to 'sx-question.el')
-rw-r--r-- | sx-question.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sx-question.el b/sx-question.el index 03ebb4b..5ce5d7f 100644 --- a/sx-question.el +++ b/sx-question.el @@ -118,7 +118,8 @@ See `sx-question--user-read-list'." ;; Question already present. ((setq cell (assoc .question_id site-cell)) ;; Current version is newer than cached version. - (when (> .last_activity_date (cdr cell)) + (when (or (not (numberp (cdr cell))) + (> .last_activity_date (cdr cell))) (setcdr cell .last_activity_date))) ;; Question wasn't present. (t |