* net/shr.el (shr-copy-url): Encode copied URL to avoid getting
URLs containing spaces and the like.
+2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
+ URLs containing spaces and the like.
+
2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
* subr.el (remq): Fix docstring (Bug#18253).
;; Copy the URL to the kill ring.
(t
(with-temp-buffer
- (insert url)
+ (insert (url-encode-url url))
(copy-region-as-kill (point-min) (point-max))
- (message "Copied %s" url))))))
+ (message "Copied %s" (buffer-substring)))))))
(defun shr-next-link ()
"Skip to the next link."