aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-08 08:39:48 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-10-08 08:39:48 +0200
commitf965cc1f17854439b9e6ec11fb10391ae45a6942 (patch)
tree097e3a3c4be53bc3219c661176a302858e4a36cc /lisp/mastodon.el
parent708aaa06b6f5dbe7db96154388309098a8f69fba (diff)
add settings check to mode-hook-fun, fix when check for hl-current
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el10
1 files changed, 4 insertions, 6 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index ce3cbf2..31cc0ea 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -425,16 +425,14 @@ Calls `mastodon-tl--get-buffer-type', which see."
(when (require 'emojify nil :noerror)
(emojify-mode t)
(when mastodon-toot--enable-custom-instance-emoji
- (mastodon-toot--enable-custom-emoji))
- (when mastodon-tl--highlight-current-toot
- (cursor-face-highlight-mode)))) ; 29.1
+ (mastodon-toot--enable-custom-emoji)))
+ (mastodon-profile--fetch-server-account-settings)
+ (when mastodon-tl--highlight-current-toot
+ (cursor-face-highlight-mode))) ; 29.1
;;;###autoload
(add-hook 'mastodon-mode-hook #'mastodon-mode-hook-fun)
-;;;###autoload
-(add-hook 'mastodon-mode-hook #'mastodon-profile--fetch-server-account-settings)
-
(define-derived-mode mastodon-mode special-mode "Mastodon"
"Major mode for Mastodon, the federated microblogging network."
(read-only-mode 1))