]> git.eshelyaron.com Git - emacs.git/commit
Correctly detect URLs surrounded by parentheses in comments
authorPhilipp Stephani <phst@google.com>
Thu, 15 Jun 2017 09:49:56 +0000 (11:49 +0200)
committerPhilipp Stephani <phst@google.com>
Fri, 16 Jun 2017 16:06:28 +0000 (18:06 +0200)
commit3b6e01cccf89ba0f3485751125f43463bc429345
tree439adae70db311405f2abd6369ad75004eb2eca4
parentea196ebb93188b0962f478f5dec0ff0645c4da10
Correctly detect URLs surrounded by parentheses in comments

* lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url):
Make parentheses match work inside comments.

* test/lisp/thingatpt-tests.el (thing-at-point-url-in-comment): Add
unit test.
lisp/thingatpt.el
test/lisp/thingatpt-tests.el