From c688fd0b6eaa02b9fe0232fed860dd4d846bebdb Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Tue, 28 May 2024 20:38:19 +0200 Subject: fix setting lang un toot compose buffer --- lisp/mastodon-toot.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lisp/mastodon-toot.el') diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index 89b1eec..654918c 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -1892,8 +1892,7 @@ EDIT means we are editing an existing toot, not composing a new one." ;; `mastodon-profile-credential-account' nor in ;; `mastodon-profile-account-settings'! (setq mastodon-toot--language - (alist-get 'posting:default:language - mastodon-profile-acccount-preferences-data)) + (mastodon-profile--get-preferences-pref 'posting:default:language)) ;; display original toot: (if mastodon-toot-display-orig-in-reply-buffer (progn -- cgit v1.2.3