emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 24905e9 2/2: Minor fixes for last change


From: Eli Zaretskii
Subject: [Emacs-diffs] master 24905e9 2/2: Minor fixes for last change
Date: Fri, 8 Feb 2019 02:54:30 -0500 (EST)

branch: master
commit 24905e92179c2ee8cd02c26b4a7058fbd238ece7
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Minor fixes for last change
    
    * etc/NEWS: Announce the change in EWW download behavior.
    
    * lisp/net/eww.el (eww-download): Doc fix.  (Bug#34291)
---
 etc/NEWS        | 5 +++++
 lisp/net/eww.el | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/etc/NEWS b/etc/NEWS
index 7ee49bf..75c8dc0 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -654,6 +654,11 @@ and its value has been changed to Duck Duck Go.
 
 ** eww/shr
 
++++
+*** The 'd' ('eww-download') command now falls back to current page's URL.
+If this command is invoked with no URL at point, it now downloads the
+current page instead of signaling an error.
+
 *** When opening external links in eww/shr (typically with the
 'C-u RET' keystroke on a link), the link will be flashed with the new
 'shr-selected-link' face to give the user feedback that the command
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 0c8bffa..a3f22ae 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -1532,7 +1532,7 @@ Differences in #targets are ignored."
 
 (defun eww-download ()
   "Download URL to `eww-download-directory'.
-Use link under point if there is one, else the current page URL."
+Use link at point if there is one, else the current page's URL."
   (interactive)
   (access-file eww-download-directory "Download failed")
   (let ((url (or (get-text-property (point) 'shr-url)



reply via email to

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