emacs-diffs
[Top][All Lists]
Advanced

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

master 5b7e999e24f 2/2: ; Fix documentation of last change


From: Eli Zaretskii
Subject: master 5b7e999e24f 2/2: ; Fix documentation of last change
Date: Sat, 24 Jun 2023 07:59:51 -0400 (EDT)

branch: master
commit 5b7e999e24f6cd446961ac441f69af021528623b
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; Fix documentation of last change
    
    * lisp/net/eww.el (eww-copy-alternate-url): Doc fix.
    * etc/NEWS:
    * doc/misc/eww.texi (Basics): Minor wording and punctuation fixes.
    (Bug#64126)
---
 doc/misc/eww.texi | 4 ++--
 etc/NEWS          | 2 +-
 lisp/net/eww.el   | 5 +++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/doc/misc/eww.texi b/doc/misc/eww.texi
index cff48bd601e..b67624af9f8 100644
--- a/doc/misc/eww.texi
+++ b/doc/misc/eww.texi
@@ -118,7 +118,7 @@ page's URL to the kill ring instead.
 @findex eww-copy-alternate-url
 @kindex A
   The @kbd{A} command (@code{eww-copy-alternate-url}) copies the URL
-of an alternate link of the current page into the kill ring.  If the
+of an alternate link on the current page into the kill ring.  If the
 page specifies multiple alternate links, this command prompts for one
 of them in the minibuffer, with completion.  Alternate links are
 references that an @acronym{HTML} page may include to point to other
@@ -127,7 +127,7 @@ documents that act as its alternative representations.  
Notably,
 translated versions and to @acronym{RSS} feeds.  Alternate links
 appear in the @samp{<head>} section of @acronym{HTML} pages as
 @samp{<link>} elements with @samp{rel} attribute equal to
-@samp{``alternate''}, they are part of the page's metadata and are not
+@samp{``alternate''}; they are part of the page's metadata and are not
 visible in its rendered content.
 
 @findex eww-open-in-new-buffer
diff --git a/etc/NEWS b/etc/NEWS
index 0f674c6465f..3061a147b26 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -268,7 +268,7 @@ bookmark URIs.
 
 +++
 *** New command 'eww-copy-alternate-url'.
-It copies an alternate link to the page currently visited in EWW into
+It copies an alternate link on the page currently visited in EWW into
 the kill ring.  Alternate links are optional metadata that HTML pages
 use for linking to their alternative representations, such as
 translated versions or associated RSS feeds.
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 89f7ba37cc1..2e743751427 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -2643,8 +2643,9 @@ with completion.  If there are none, return nil."
         (caar alternates)))))
 
 (defun eww-copy-alternate-url ()
-  "Copy an alternate URL of the current page into the kill ring.
-
+  "Copy the alternate URL of the current page into the kill ring.
+If there are multiple alternate links on the current page, prompt
+for one in the minibuffer, with completion.
 Alternate links are references that an HTML page may include to
 point to its alternative representations, such as a translated
 version or an RSS feed."



reply via email to

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