summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa2025-02-16 21:36:49 +0800
committernoa2025-02-16 21:36:49 +0800
commitd01dce8cfb42e28341a327cbf4eed28af428d1d8 (patch)
treec85c2deb9f9c600810d53bb1bbd886e361c6b669
parentcc74e75913e01a8c3a495ca4a3c87e077db494f6 (diff)
Only enable goto-addr after-init
-rw-r--r--emacs/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index de78a2f..0d982f5 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -222,8 +222,8 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
 
 ;; Goto address mode makes urls and email address in a buffer clickable.  I want these clickable links to look like links, because that's what they are.  The two mouse face variables are what face is used on hover, which at the moment i ignore.  It might also be worth setting them to 'highlight.
 (use-package goto-addr
+  :hook (after-init . global-goto-address-mode)
   :custom
-  (global-goto-address-mode nil)
   (goto-address-mail-face 'link)
   (goto-address-mail-mouse-face 'highlight)
   (goto-address-url-face 'link)