From cde7c92d0b0c92fe0f997a1616453287d731af59 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Fri, 5 May 2023 08:34:16 +0200 Subject: " " for reply in compose --- lisp/mastodon-toot.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index 78291d0..1ee3215 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -1424,8 +1424,9 @@ LONGEST is the length of the longest binding." "Format a REPLY-TEXT for display in compose buffer docs." (let* ((rendered (mastodon-tl--render-text reply-text)) (no-newlines (replace-regexp-in-string "\n\n" "\n" rendered)) - (crop (string-limit (concat " Reply to: " no-newlines) - mastodon-toot-orig-in-reply-length))) + (crop (string-limit + (concat " Reply to: \"" no-newlines "\"") + mastodon-toot-orig-in-reply-length))) (if (> (length no-newlines) (length crop)) ; we cropped: (concat crop "\n") -- cgit v1.2.3