aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net/shr.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net/shr.el')
-rw-r--r--lisp/net/shr.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 5e2e1eadf86..dae72b682b0 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -246,9 +246,9 @@ redirects somewhere else."
246 ;; Copy the URL to the kill ring. 246 ;; Copy the URL to the kill ring.
247 (t 247 (t
248 (with-temp-buffer 248 (with-temp-buffer
249 (insert url) 249 (insert (url-encode-url url))
250 (copy-region-as-kill (point-min) (point-max)) 250 (copy-region-as-kill (point-min) (point-max))
251 (message "Copied %s" url)))))) 251 (message "Copied %s" (buffer-substring)))))))
252 252
253(defun shr-next-link () 253(defun shr-next-link ()
254 "Skip to the next link." 254 "Skip to the next link."