aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-01-07 18:01:25 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-01-07 18:01:25 -0200
commit39dbc7379da010cc3bae479fa70d9724acf169f5 (patch)
tree9f688ae84a8385bb0faa219b3b6808ca21df8db4
parent7ea2edd6e54cf4dd257a32555fec4489d510eaf6 (diff)
Don't propertize when composing a comment
-rw-r--r--sx-interaction.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-interaction.el b/sx-interaction.el
index e444248..9e96228 100644
--- a/sx-interaction.el
+++ b/sx-interaction.el
@@ -272,7 +272,7 @@ TEXT is a string. Interactively, it is read from the minibufer."
(setq text (read-string
"Comment text: "
(when .comment_id
- (concat (sx-user--format "%@" .owner) " "))))
+ (substring-no-properties (sx-user--format "%@ " .owner)))))
(while (not (sx--comment-valid-p text 'silent))
(setq text (read-string "Comment text (between 16 and 600 characters): " text))))
;; If non-interactive, `text' could be anything.