aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-11-25 22:42:27 -0500
committerSean Allred <code@seanallred.com>2014-11-25 22:42:27 -0500
commiteb6d7c4567313b5b4a729bd56f53c56ed2cad27c (patch)
tree0e103f277a547713363162b6c383614ae5a2b93c
parent026f8f42a124da1dcc0a7254e49e2cf787b82fe1 (diff)
Streamline replying to comments
Append a single space after the at-mention in comment replies.
-rw-r--r--sx-interaction.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-interaction.el b/sx-interaction.el
index 404fb56..de27ca5 100644
--- a/sx-interaction.el
+++ b/sx-interaction.el
@@ -123,7 +123,7 @@ TEXT is a string. Interactively, it is read from the minibufer."
(setq text (read-string
"Comment text: "
(when .comment_id
- (sx--user-@name .owner))))
+ (concat (sx--user-@name .owner) " "))))
(while (< (string-width text) 15)
(setq text (read-string "Comment text (at least 15 characters): " text))))
;; If non-interactive, `text' could be anything.