Don't override 'revert-buffer-function' globally in 'eww-buffers-mode'
* lisp/net/eww.el (eww-buffers-mode): Set 'revert-buffer-function' buffer-locally. (Bug#77854)
This commit is contained in:
parent
4fcba8456e
commit
2925ff6c53
1 changed files with 4 additions and 4 deletions
|
@ -2816,10 +2816,10 @@ The format of the data is (title url buffer), for use in of
|
|||
\\{eww-buffers-mode-map}"
|
||||
:interactive nil
|
||||
(buffer-disable-undo)
|
||||
(setq truncate-lines t
|
||||
;; This is set so that pressing "g" with point just below the
|
||||
;; table will still update the listing.
|
||||
revert-buffer-function #'eww--list-buffers-display-table))
|
||||
(setq truncate-lines t)
|
||||
;; This is set so that pressing "g" with point just below the table
|
||||
;; will still update the listing.
|
||||
(setq-local revert-buffer-function #'eww--list-buffers-display-table))
|
||||
|
||||
;;; Desktop support
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue