diff options
author | Sean Allred <code@seanallred.com> | 2014-11-26 00:59:15 -0500 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-11-26 00:59:15 -0500 |
commit | 14c8351e551c6c2ee30486948fdc857b5813ad52 (patch) | |
tree | b22e3bacadaa787ef5179d59590abaa38e325828 /sx-question-mode.el | |
parent | 07a1456fe7a91d1589f689d40ac4391f35e695b9 (diff) |
Default to post author if post editor is missing
Fixes #100
Diffstat (limited to 'sx-question-mode.el')
-rw-r--r-- | sx-question-mode.el | 3 |
1 files changed, 2 insertions, 1 deletions
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 |