aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-toot.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 07ab400..52b061c 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -289,9 +289,12 @@ Makes a POST request to the server."
Uses `lingva.el'."
(interactive)
(if mastodon-tl--buffer-spec
- (let* ((toot (mastodon-tl--property 'toot-json)))
+ (let ((toot (mastodon-tl--property 'toot-json)))
(if toot
- (lingva-translate nil (mastodon-tl--content toot))
+ (lingva-translate nil
+ (mastodon-tl--content toot)
+ (when mastodon-tl--enable-proportional-fonts
+ t))
(message "No toot to translate?")))
(message "No mastodon buffer?")))