]> git.eshelyaron.com Git - emacs.git/commit
eww.el: Misc changes
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 18 May 2025 19:48:54 +0000 (15:48 -0400)
committerEshel Yaron <me@eshelyaron.com>
Wed, 21 May 2025 06:12:23 +0000 (08:12 +0200)
commit141ead3d03077401c041e86804db2ca2f3afd423
treea077e83509dad170949c53a551affd59d11fa8af
parent7008ed0298f16a7d8fc3351753e24be3a5ea63ab
eww.el: Misc changes

* lisp/net/eww.el (eww--parse-html-region): Don't decode when it's a no-op.
(eww-display-raw): Simplify.
(eww-mode): Prefer #' to quote function names.
(eww-switch-to-buffer): Use `completion-table-with-metadata` instead of
`completion-extra-properties`.  Don't prompt the user when there's only
one choice.
(eww-buffer-list): Use `eww--buffer-p`.

(cherry picked from commit 860a6c86c5696513707f980dffbe7c58f0f52b7b)
lisp/net/eww.el