aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-05-04 20:30:34 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-05-04 20:30:34 +0200
commit497c92aa55675b23b4a5f8a429f631795685482d (patch)
tree10e860a283da6fc27ef6e4f42085dc6a4bf3e269
parenta4e9c17cd4ee376d00f1c28ad760a599e3dd1595 (diff)
var pitch if mastodon-toot--proportional-fonts-compose
-rw-r--r--lisp/mastodon-toot.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 73b9f1a..dd8d032 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -1750,6 +1750,8 @@ EDIT means we are editing an existing toot, not composing a new one."
(cl-pushnew #'mastodon-toot--propertize-tags-and-handles after-change-functions)
;; if we set this before changing modes, it gets nuked:
(setq mastodon-toot-previous-window-config previous-window-config)
+ (when mastodon-toot--proportional-fonts-compose
+ (facemenu-set-face 'variable-pitch))
(when initial-text
(insert initial-text))))