Open partial links in Emacs, full URLs in browser
commit8e708bc193f3edbbb82a0c7dcd63ac56690c191c
authorJason Blevins <jrblevin@sdf.org>
Fri, 6 May 2016 16:49:45 +0000 (6 12:49 -0400)
committerJason Blevins <jrblevin@sdf.org>
Fri, 6 May 2016 16:49:45 +0000 (6 12:49 -0400)
tree0c629fcf8a43fc1e4b7f3259b43fb8468b7a2893
parenta646fea17bb7c47d92b9f6191a320bb932788d61
Open partial links in Emacs, full URLs in browser

This commit changes the behavior of `markdown-follow-link-at-point` (C-c
C-o).  If the link is a complete URL, open in browser with `browse-url'.
Otherwise, open with `find-file' after stripping anchor and/or query
string.  Includes a test.
markdown-mode.el
tests/markdown-test.el