diff options
| author | Jim Porter | 2025-07-16 19:30:09 -0700 |
|---|---|---|
| committer | Jim Porter | 2025-07-18 18:45:12 -0700 |
| commit | 291cd2d3419c7be20200db3f0ee5936661ab79f2 (patch) | |
| tree | d499a076f6463ed791e680d5b0ae1367a340cf99 /doc/misc | |
| parent | 07ee5ebeca0ddeab436d449f626638d85c083da1 (diff) | |
| download | emacs-291cd2d3419c7be20200db3f0ee5936661ab79f2.tar.gz emacs-291cd2d3419c7be20200db3f0ee5936661ab79f2.zip | |
Improve wording of messages and documentation for 'eww-readable'
* lisp/net/eww.el (eww-readable, eww-mode): Improve wording; avoid using
the word "content".
* doc/misc/eww.texi (Basics): Improve wording.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/eww.texi | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/doc/misc/eww.texi b/doc/misc/eww.texi index d092fc1f230..b527e84f182 100644 --- a/doc/misc/eww.texi +++ b/doc/misc/eww.texi | |||
| @@ -142,9 +142,10 @@ a new tab is created on the frame tab bar. | |||
| 142 | 142 | ||
| 143 | @findex eww-readable | 143 | @findex eww-readable |
| 144 | @kindex R | 144 | @kindex R |
| 145 | The @kbd{R} command (@code{eww-readable}) will attempt to determine | 145 | The @kbd{R} command (@code{eww-readable}) attempts to determine |
| 146 | which part of the document contains the ``readable'' text, and will | 146 | which part of the current page contains the ``readable'' text, and will |
| 147 | only display this part. This usually gets rid of menus and the like. | 147 | only display this part. This removes clutter like navigation menus to |
| 148 | help you focus on the important text. | ||
| 148 | 149 | ||
| 149 | When called interactively, this command toggles the display of the | 150 | When called interactively, this command toggles the display of the |
| 150 | readable parts. With a positive prefix argument, this command always | 151 | readable parts. With a positive prefix argument, this command always |
| @@ -152,15 +153,15 @@ displays the readable parts, and with a zero or negative prefix, it | |||
| 152 | always displays the full page. | 153 | always displays the full page. |
| 153 | 154 | ||
| 154 | @vindex eww-readable-urls | 155 | @vindex eww-readable-urls |
| 155 | If you want EWW to render a certain page in ``readable'' mode by | 156 | If you want EWW to render certain pages using the ``readable'' view by |
| 156 | default, you can add a regular expression matching its URL to | 157 | default, you can add a regular expression matching its URL to |
| 157 | @code{eww-readable-urls}. Each entry can either be a regular expression | 158 | @code{eww-readable-urls}. Each entry can either be a regular expression |
| 158 | in string form or a cons cell of the form | 159 | in string form or a cons cell of the form |
| 159 | @w{@code{(@var{regexp} . @var{readability})}}. If @var{readability} is | 160 | @w{@code{(@var{regexp} . @var{readability})}}. If @var{readability} is |
| 160 | non-@code{nil}, this behaves the same as the string form; otherwise, | 161 | non-@code{nil}, this behaves the same as the string form; if @code{nil}, |
| 161 | URLs matching @var{regexp} will never be displayed in readable mode by | 162 | EWW will always render the full page by default for matching URLs. For |
| 162 | default. For example, you can use this to make all pages default to | 163 | example, you can use this to make all pages default to readable mode, |
| 163 | readable mode, except for a few outliers: | 164 | except for a few outliers: |
| 164 | 165 | ||
| 165 | @example | 166 | @example |
| 166 | (setq eww-readable-urls '(("https://example\\.com/" . nil) | 167 | (setq eww-readable-urls '(("https://example\\.com/" . nil) |