From 14c8351e551c6c2ee30486948fdc857b5813ad52 Mon Sep 17 00:00:00 2001 From: Sean Allred Date: Wed, 26 Nov 2014 00:59:15 -0500 Subject: Default to post author if post editor is missing Fixes #100 --- sx-question-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sx-question-mode.el') diff --git a/sx-question-mode.el b/sx-question-mode.el index 70b8866..947c35d 100644 --- a/sx-question-mode.el +++ b/sx-question-mode.el @@ -271,7 +271,8 @@ DATA can represent a question or an answer." (when .last_edit_date (format sx-question-mode-last-edit-format (sx-time-since .last_edit_date) - (sx-question-mode--propertize-display-name .last_editor)))) + (sx-question-mode--propertize-display-name + (if .last_editor .last_editor .owner))))) 'sx-question-mode-date) (sx-question-mode--insert-header sx-question-mode-header-score -- cgit v1.2.3