]> git.eshelyaron.com Git - emacs.git/commit
Split shr-copy-url dwim behavior into separate functions (Bug#26826)
authorNoam Postavsky <npostavs@gmail.com>
Thu, 11 May 2017 23:40:45 +0000 (19:40 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 2 Jul 2017 20:19:58 +0000 (16:19 -0400)
commit1b4f0a92ff3505ef9a465b9b391756e3a73a6443
treede88d8244a3467dcab6c3fdbb318b4e554ded080
parent1fd6ca40fd50989b8f82b287c04a5079a051ed09
Split shr-copy-url dwim behavior into separate functions (Bug#26826)

* lisp/net/shr.el (shr-url-at-point, shr-probe-url)
(shr-probe-and-copy-url, shr-maybe-probe-and-copy-url): New functions,
split out from `shr-copy-url'.
(shr-copy-url): Only copy the url, don't fetch it.
(shr-map): Bind 'w' and 'u' to `shr-maybe-probe-and-copy-url', which
has the same behavior as the old `shr-copy-url'.
* etc/NEWS: Announce changes.
etc/NEWS
lisp/net/shr.el