aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-08-02 10:23:19 -0500
committerColin Okay <colin@cicadas.surf>2022-08-02 10:23:19 -0500
commit859d6f56e539891d54655025536fac4944a65cce (patch)
tree4f17e4e30108eb424560655ee11df2a542196105
parenta983ed57703ad606ca9ab57e63e9a40748472c93 (diff)
[add] eww hook
-rw-r--r--init-el.org10
1 files changed, 6 insertions, 4 deletions
diff --git a/init-el.org b/init-el.org
index 8577686..adde46a 100644
--- a/init-el.org
+++ b/init-el.org
@@ -1455,12 +1455,14 @@ mu index
** EWW config
#+name: eww-config
-#+begin_src elisp :noweb no-export
+#+begin_src elisp :noweb no-export :results none
(setq browse-url-browser-function 'eww-browse-url)
-#+end_src
-#+RESULTS: eww-config
-: eww-browse-url
+(add-hook 'eww-mode-hook
+ (lambda ()
+ (writeroom--enable)))
+
+#+end_src
** Markdown Editing