diff options
author | Case Duckworth | 2021-02-21 18:54:24 -0600 |
---|---|---|
committer | Case Duckworth | 2021-02-21 18:54:24 -0600 |
commit | f3626d5c8dc0559526ad3c90222ead45481c23c9 (patch) | |
tree | 1ddb89d692a390ece19b371a25543d885816e39f | |
parent | Add feed (diff) | |
download | emacs-f3626d5c8dc0559526ad3c90222ead45481c23c9.tar.gz emacs-f3626d5c8dc0559526ad3c90222ead45481c23c9.zip |
Set shr-max-width
Mostly for Elfeed. `shr-max-width' determines the maximum width that `shr' will render a webpage. Setting it to `fill-column' keeps the pages rendered in Elfeed from breaking weirdly.
-rw-r--r-- | config.org | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.org b/config.org index 9b42bb7..45062e3 100644 --- a/config.org +++ b/config.org | |||
@@ -2170,6 +2170,12 @@ At work, I need to tell Emacs where Firefox is. | |||
2170 | (add-to-list 'exec-path "C:/Program Files/Mozilla Firefox") | 2170 | (add-to-list 'exec-path "C:/Program Files/Mozilla Firefox") |
2171 | #+end_src | 2171 | #+end_src |
2172 | 2172 | ||
2173 | *** SHR | ||
2174 | |||
2175 | #+begin_src emacs-lisp :noweb-ref settings | ||
2176 | (setq-default shr-max-width fill-column) | ||
2177 | #+end_src | ||
2178 | |||
2173 | ** Dired | 2179 | ** Dired |
2174 | 2180 | ||
2175 | #+begin_src emacs-lisp :noweb-ref hooks | 2181 | #+begin_src emacs-lisp :noweb-ref hooks |