emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master bd6dca0 2/2: Do some xwidget NEWS markup (and adjust doc string)


From: Lars Ingebrigtsen
Subject: master bd6dca0 2/2: Do some xwidget NEWS markup (and adjust doc string)
Date: Sat, 18 Sep 2021 12:18:19 -0400 (EDT)

branch: master
commit bd6dca038e9dfc4ad5b0bc07fcc16244e7073b28
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Do some xwidget NEWS markup (and adjust doc string)
    
    * lisp/xwidget.el (xwidget-webkit-bookmark-make-record): Mention
    `xwidget-webkit-bookmark-jump-new-session' in the doc string.
---
 etc/NEWS        | 6 ++++++
 lisp/xwidget.el | 4 +++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/etc/NEWS b/etc/NEWS
index cfa0c33..e99b119 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2733,22 +2733,26 @@ separated) and clearer documentation.
 
 ** xwidget-webkit mode
 
+---
 *** New xwidget commands.
 'xwidget-webkit-uri' (return the current URL), 'xwidget-webkit-title'
 (return the current title), and 'xwidget-webkit-goto-history' (goto a
 point in history).
 
+---
 *** Pixel-based scrolling.
 The 'xwidget-webkit-scroll-up', 'xwidget-webkit-scroll-down' commands
 now supports scrolling arbitrary pixel values.  It now treats the
 optional 2nd argument as the pixel values to scroll.
 
+---
 *** New commands for scrolling.
 The new commands 'xwidget-webkit-scroll-up-line',
 'xwidget-webkit-scroll-down-line', 'xwidget-webkit-scroll-forward',
 'xwidget-webkit-scroll-backward' can be used to scroll webkit by the
 height of lines or width of chars.
 
+---
 *** New user option 'xwidget-webkit-bookmark-jump-new-session'.
 When non-nil, use a new xwidget webkit session after bookmark jump.
 Otherwise, it will use 'xwidget-webkit-last-session'.
@@ -2937,6 +2941,7 @@ your code to be edited with an Emacs version older than 
27.1.
 ---
 *** 'mspools-show' is now autoloaded.
 
+---
 *** Loading dunnet.el in batch mode doesn't start the game any more.
 Instead you need to do "emacs -f dun-batch" to start the game in
 batch mode.
@@ -2980,6 +2985,7 @@ direction with e.g. 'C-x o M-- o o'.  Also it can help to 
set a new
 step with e.g. 'C-x { C-5 { { {', which will set the window resizing
 step to 5 columns.
 
+---
 ** New themes 'modus-vivendi' and 'modus-operandi'.
 These themes are designed to conform with the highest standard for
 color-contrast accessibility (WCAG AAA).  You can load either of them
diff --git a/lisp/xwidget.el b/lisp/xwidget.el
index f8cb7a7..8c593ab 100644
--- a/lisp/xwidget.el
+++ b/lisp/xwidget.el
@@ -352,7 +352,9 @@ When you set this variable to nil, consider further 
customization with
   :type 'boolean)
 
 (defun xwidget-webkit-bookmark-make-record ()
-  "Create bookmark record in webkit xwidget."
+  "Create bookmark record in webkit xwidget.
+See `xwidget-webkit-bookmark-jump-new-session' for whether this
+should create a new session or not."
   (nconc (bookmark-make-record-default t t)
          `((page . ,(xwidget-webkit-uri (xwidget-webkit-current-session)))
            (handler  . (lambda (bmk)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]