aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-toot.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 763e334..78291d0 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -1424,9 +1424,8 @@ 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")
@@ -1644,7 +1643,6 @@ Added to `after-change-functions'."
;; cull any prev props:
;; stops all text after a handle or mention being propertized:
(set-text-properties (cdr header-region) (point-max) `(face ,face))
- ;; TODO: confirm allowed hashtag/handle characters:
(mastodon-toot--propertize-item mastodon-toot-tag-regex
'success
(cdr header-region))