Simplify the eww configuration

This commit is contained in:
Gerard Vermeulen 2022-04-09 17:14:24 +02:00
parent 1c5f5c0518
commit 9320f3f6f2

View File

@ -3338,9 +3338,7 @@ Listing [[lst:configure-browse-url]] configures =browse-url=.
(name (or (and (eq "" title) (plist-get eww-data :url)) title)))
(rename-buffer (format "*%s # eww*" name) t)))
(add-hook 'eww-after-render-hook #'eww-rename-buffer)
(advice-add 'eww-back-url :after #'eww-rename-buffer)
(advice-add 'eww-forward-url :after #'eww-rename-buffer))
(add-hook 'eww-after-render-hook #'eww-rename-buffer))
#+end_src
*** [[info:emacs#Goto Address mode][Goto address mode (info)]]