summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2018-09-27 19:36:09 -0400
committerNoam Postavsky <npostavs@gmail.com>2018-09-27 19:37:25 -0400
commit7f5086da051aaf80e44db9d6f682a259ff1c686b (patch)
tree2d5ce3f375cc3929f9108dc86c991c0f55c253b1 /lisp
parentd309994aff03200ed8ef9fadd98f69d6d3166701 (diff)
downloademacs-7f5086da051aaf80e44db9d6f682a259ff1c686b.tar.gz
emacs-7f5086da051aaf80e44db9d6f682a259ff1c686b.tar.bz2
emacs-7f5086da051aaf80e44db9d6f682a259ff1c686b.zip
* lisp/net/shr.el (shr-copy-url): Fix docstring.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/shr.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 5582e29c526..364f289e1ab 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -302,9 +302,9 @@ under point instead."
(defun shr-copy-url (url)
"Copy the URL under point to the kill ring.
-If IMAGE-URL (the prefix) is non-nil, or there is no link under
-point, but there is an image under point then copy the URL of the
-image under point instead."
+With a prefix argument, or if there is no link under point, but
+there is an image under point then copy the URL of the image
+under point instead."
(interactive (list (shr-url-at-point current-prefix-arg)))
(if (not url)
(message "No URL under point")