aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-11-04 08:53:01 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-11-04 08:53:01 +0000
commit4aab65154b3c8f4d58f9e874d8a93eb288432120 (patch)
tree4cc2e90df18a8d027c38a396becd6ec0ed2acb65
parent58bd8f86c5991ad2469da9154865519e06c208d1 (diff)
Move " ago" out of stack--time-since
-rw-r--r--stack-core.el3
-rw-r--r--stack-question-list.el2
2 files changed, 2 insertions, 3 deletions
diff --git a/stack-core.el b/stack-core.el
index 6830583..5a90cb3 100644
--- a/stack-core.el
+++ b/stack-core.el
@@ -296,8 +296,7 @@ context of `stack-cache-directory'."
(while (and (car (setq here (pop sts)))
(<= (car here) delay)))
(concat (format "%.0f" (/ delay (car (cddr here))))
- (cadr here))))
- " ago")))
+ (cadr here)))))))
(defcustom stack-core-html-entities-plist
'(Aacute "Á" aacute "á" Acirc "Â" acirc "â" acute "´" AElig "Æ" aelig "æ"
diff --git a/stack-question-list.el b/stack-question-list.el
index 8f3f722..1a19b44 100644
--- a/stack-question-list.el
+++ b/stack-question-list.el
@@ -165,7 +165,7 @@ If REDISPLAY is non-nil, also call `tabulated-list-print'."
'stack-question-list-read-question
'stack-question-list-unread-question))
(propertize " " 'display "\n ")
- (propertize (stack--time-since (ca 'last_activity_date))
+ (propertize (concat (stack--time-since (ca 'last_activity_date)) " ago")
'face 'stack-question-list-date)
(propertize (concat " [" (mapconcat #'identity (ca 'tags) "] [") "]")
'face 'stack-question-list-tags)