From e298e214bfca97456e16b5f8bf6766e9130a4888 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Mon, 3 Nov 2014 13:34:48 +0000 Subject: Huge improvements to the question list --- stack-question.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'stack-question.el') diff --git a/stack-question.el b/stack-question.el index 4c67e09..2b6cd1f 100644 --- a/stack-question.el +++ b/stack-question.el @@ -44,6 +44,18 @@ (page . ,page)) stack-question-browse-filter)) + +;;; Question Properties +(defun stack-question--read-p (question) + "Non-nil if QUESTION has been read since last updated." + ;; @TODO: + (cl-evenp (random))) + +(defun stack-question--accepted-answer (question) + "Return accepted answer in QUESTION, or nil if none." + ;; @TODO: + (cl-evenp (random))) + ;;; Displaying a question (defvar stack-question--window nil -- cgit v1.2.3