about summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-07-04 19:53:29 +0200
committerbptato <nincsnevem662@gmail.com>2024-07-04 19:53:29 +0200
commit2c087d701becb78efc0d40ddbb82e11641df6643 (patch)
treee81d2b43e72092c1b029b712b2252857cda02d13 /doc
parentee4462ff4f18aad803d2740f40d911ef425a360e (diff)
downloadchawan-2c087d701becb78efc0d40ddbb82e11641df6643.tar.gz
config: add buffer.autofocus
Same as [[siteconf]] autofocus.
Diffstat (limited to 'doc')
-rw-r--r--doc/config.md15
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/config.md b/doc/config.md
index e1b359f5..b55cf74b 100644
--- a/doc/config.md
+++ b/doc/config.md
@@ -120,7 +120,8 @@ Following is a list of buffer options:
 <td>styling</td>
 <td>boolean</td>
 <td>Enable/disable author style sheets. Note that disabling this does not affect
-user styles set in `[css]`.</td>
+user styles set in `[css]`.<br>
+Defaults to true (i.e. enabled).</td>
 </tr>
 
 <tr>
@@ -158,6 +159,14 @@ option disabled, only enabling it for specific sites in `[[siteconf]]`.
 </td>
 </tr>
 
+<tr>
+<td>autofocus</td>
+<td>boolean</td>
+<td>When set to true, elements with an "autofocus" attribute are focused on
+automatically after the buffer is loaded.<br>
+Defaults to false</td>
+</tr>
+
 </table>
 
 ## Search
@@ -784,8 +793,8 @@ are doing.</td>
 <tr>
 <td>autofocus</td>
 <td>boolean</td>
-<td>Defaults to false. When set to true, elements with an `autofocus' attribute
-are focused on automatically after the buffer is loaded.</td>
+<td>When set to true, elements with an "autofocus" attribute are focused on
+automatically after the buffer is loaded. Overrides buffer.autofocus.</td>
 </tr>
 
 </table>