diff options
author | Yuchen Pei <id@ypei.org> | 2024-12-22 16:37:44 +1100 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2024-12-22 16:37:44 +1100 |
commit | c997f63695502f1160524b2e76ea7358ad341bb1 (patch) | |
tree | 9c80ba1c271b710c230b31ca9e432c7f0618418c /emacs/.emacs.d/init/ycp-web.el | |
parent | 76865e3e10a28c024275511e2348fb1b702650ce (diff) |
[emacs] [bashrc] Multiple changes
- use custom mastodon.el
- turn off flyspell in org-jira mode because it slows down
significantly
Diffstat (limited to 'emacs/.emacs.d/init/ycp-web.el')
-rw-r--r-- | emacs/.emacs.d/init/ycp-web.el | 11 |
1 files changed, 7 insertions, 4 deletions
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)) |