aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorProtesilaos Stavrou2021-10-15 14:12:32 +0200
committerLars Ingebrigtsen2021-10-15 14:13:58 +0200
commit171de3eee459ed64388a8ced7d07fa031ea025a6 (patch)
treeadaed5bc528f080fba7145fd440fdb177e8e509b /doc/misc
parent7dedba1cc02055befa097f8782cda108f4af08c6 (diff)
downloademacs-171de3eee459ed64388a8ced7d07fa031ea025a6.tar.gz
emacs-171de3eee459ed64388a8ced7d07fa031ea025a6.zip
Add new option to rename eww buffers
* etc/NEWS: Document the new user options. * lisp/net/eww.el (eww-auto-rename-buffer, eww-buffer-name-length): Add new user options. (eww--rename-buffer): Introduce new function that performs the renaming of buffers. (eww--after-page-change): Add new wrapper function which calls 'eww-update-header-line-format' and 'eww--rename-buffer'. (eww, eww-render, eww-tag-title, eww-readable, eww-restore-history): Include eww--after-page-change. Fix bug#51176. Co-authored-by: Abhiseck Paira <abhiseckpaira@disroot.org> Co-authored-by: Protesilaos Stavrou <info@protesilaos.com>
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/eww.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/misc/eww.texi b/doc/misc/eww.texi
index 2543dc2ff5a..7635685e56f 100644
--- a/doc/misc/eww.texi
+++ b/doc/misc/eww.texi
@@ -380,6 +380,14 @@ thus allowing for the use of the usual substitutions, such as
380@code{\[eww-reload]} for the current key binding of the 380@code{\[eww-reload]} for the current key binding of the
381@code{eww-reload} command. 381@code{eww-reload} command.
382 382
383@vindex eww-auto-rename-buffer
384 If the @code{eww-auto-rename-buffer} user option is non-@code{nil},
385EWW buffers will be renamed after rendering a document. If this is
386@code{title}, rename based on the title of the document. If this is
387@code{url}, rename based on the @acronym{URL} of the document. This
388can also be a user-defined function, which is called with no
389parameters in the EWW buffer, and should return a string.
390
383@node Command Line 391@node Command Line
384@chapter Command Line Usage 392@chapter Command Line Usage
385 393