From c997f63695502f1160524b2e76ea7358ad341bb1 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sun, 22 Dec 2024 16:37:44 +1100 Subject: [emacs] [bashrc] Multiple changes - use custom mastodon.el - turn off flyspell in org-jira mode because it slows down significantly --- emacs/.emacs.d/init/ycp-web.el | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'emacs/.emacs.d/init/ycp-web.el') diff --git a/emacs/.emacs.d/init/ycp-web.el b/emacs/.emacs.d/init/ycp-web.el index 7521afd..b1e546c 100644 --- a/emacs/.emacs.d/init/ycp-web.el +++ b/emacs/.emacs.d/init/ycp-web.el @@ -212,7 +212,10 @@ (add-hook 'org-jira-mode-hook (lambda () (setq show-trailing-whitespace nil))) (add-hook 'org-jira-mode-hook - 'turn-off-auto-fill) ) + 'turn-off-auto-fill) + (add-hook 'org-jira-mode-hook + 'turn-off-flyspell) + ) (my-package eww (:delay 60) @@ -279,9 +282,9 @@ (:delay 60) (require 'sx-load)) -;; mastodon +;; mastodon.el +(add-to-list 'load-path (locate-user-emacs-file "lisp/mastodon.el/lisp")) (my-package mastodon - (:install t) (my-setq-from-local mastodon-active-user mastodon-instance-url) ;; auto fill is a bit glitchy when composing a toot (add-hook 'mastodon-toot-mode-hook (lambda () (turn-off-auto-fill))) @@ -303,7 +306,7 @@ (:delay 60) (require 'my-utils) (my-setq-from-local my-libgen-hosts my-libgen-alt-hosts - my-libgen-library-hosts + my-libgen-library-hosts my-libgen-onion-host ) (setq my-libgen-download-dir my-document-incoming-dir) (my-libgen-set-random-hosts)) -- cgit v1.2.3