]> git.eshelyaron.com Git - emacs.git/commit
Fix handling of webkit xwidget bookmarks
authorStephen Berman <stephen.berman@gmx.net>
Fri, 31 Dec 2021 09:25:52 +0000 (10:25 +0100)
committerStephen Berman <stephen.berman@gmx.net>
Fri, 31 Dec 2021 09:25:52 +0000 (10:25 +0100)
commit95ee6e8b907f44ef56de7c0a7272ccfc0f2f2727
tree6206931414b49123e91c576ca05302ab61d76f1f
parent0922634b28ff501ded2bf8f343c848f5e4db35d5
Fix handling of webkit xwidget bookmarks

Make jumping to a bookmarked webkit xwidget in another window or
another frame show the xwidget only in that window or frame and
refactor new session code used by the bookmark code (bug#52856).
In addition, make xwidget-webkit-clone-* commands work.

* lisp/xwidget.el (xwidget-webkit-clone-and-split-below)
(xwidget-webkit-clone-and-split-right): Unbreak these functions by
passing just the URL to them, not the message displaying it.
(xwidget-webkit-bookmark-jump-new-session): Adjust doc string,
rephrasing and removing a customization suggestion that cannot
take effect.
(xwidget-webkit-bookmark-jump-handler): New autoloaded function.
(xwidget-webkit-bookmark-make-record): Use it.
(xwidget-webkit--create-new-session-buffer): New function
extracted from `xwidget-webkit-new-session'.
(xwidget-webkit-new-session): Use it.
lisp/xwidget.el