]> git.eshelyaron.com Git - emacs.git/commit
Add new option to rename eww buffers
authorProtesilaos Stavrou <info@protesilaos.com>
Fri, 15 Oct 2021 12:12:32 +0000 (14:12 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 15 Oct 2021 12:13:58 +0000 (14:13 +0200)
commit171de3eee459ed64388a8ced7d07fa031ea025a6
treeadaed5bc528f080fba7145fd440fdb177e8e509b
parent7dedba1cc02055befa097f8782cda108f4af08c6
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>
doc/misc/eww.texi
etc/NEWS
lisp/net/eww.el