From 4844a1147a7ae23c996aa21a98ae4229fe172649 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Tue, 30 Jul 2024 15:35:32 +0200 Subject: no newline after READ MORE heading --- lisp/mastodon-search.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/mastodon-search.el') diff --git a/lisp/mastodon-search.el b/lisp/mastodon-search.el index e69366e..f862f3c 100644 --- a/lisp/mastodon-search.el +++ b/lisp/mastodon-search.el @@ -128,14 +128,14 @@ Optionally add string TYPE after HEADING." (insert (mastodon-search--format-heading str type))) -(defun mastodon-search--format-heading (str &optional type) +(defun mastodon-search--format-heading (str &optional type no-newline) "Format STR as a heading. Optionally add string TYPE after HEADING." (mastodon-tl--set-face (concat "\n " mastodon-tl--horiz-bar "\n " (upcase str) " " (if type (upcase type) "") "\n" - " " mastodon-tl--horiz-bar "\n") + " " mastodon-tl--horiz-bar (unless no-newline "\n")) 'success)) (defvar mastodon-search-types -- cgit v1.2.3