aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-05-07 11:12:51 +0200
committermousebot <mousebot@riseup.net>2021-05-07 11:12:51 +0200
commite5cb126df37ccd8031692e6900c8fad1c34f793e (patch)
tree1efd7e2eb7adf63313cf5978d139529983eec154 /lisp/mastodon-tl.el
parent1a2cf34a80bebf42b1a9aa92bf7aae14d1d5292e (diff)
fix newlines before after posts
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 7732e7e..bb92378 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -374,7 +374,7 @@ it is `mastodon-tl--byline-boosted'"
'display (if mastodon-tl--enable-relative-timestamps
(mastodon-tl--relative-time-description parsed-time)
parsed-time))
- (propertize "\n ------------" 'face 'default))
+ (propertize "\n ------------\n" 'face 'default))
'favourited-p faved
'boosted-p boosted
'byline t))))
@@ -590,7 +590,7 @@ message is a link which unhides/hides the main body."
(mastodon-tl--clean-tabs-and-nl
(mastodon-tl--render-text spoiler toot))
'default))
- (message (concat "\n"
+ (message (concat ;"\n"
" ---------------\n"
" " (mastodon-tl--make-link
(concat "CW: " string) ;"Content Warning"
@@ -641,13 +641,14 @@ it is `mastodon-tl--byline-boosted'"
(let ((start-pos (point)))
(insert
(propertize
- (concat body
+ (concat "\n"
+ body
" \n"
(mastodon-tl--byline toot author-byline action-byline))
'toot-id (cdr (assoc 'id toot))
'base-toot-id (mastodon-tl--toot-id toot)
'toot-json toot)
- "\n\n")
+ "\n")
(when mastodon-tl--display-media-p
(mastodon-media--inline-images start-pos (point)))))