* etc/NEWS: Announce the change in EWW download behavior.
* lisp/net/eww.el (eww-download): Doc fix. (Bug#34291)
** 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
(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)