From 859d6f56e539891d54655025536fac4944a65cce Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Tue, 2 Aug 2022 10:23:19 -0500 Subject: [add] eww hook --- init-el.org | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'init-el.org') 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 -- cgit v1.2.3