diff options
| author | Wilfred Hughes <me@wilfred.me.uk> | 2018-06-19 00:16:07 +0100 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2018-06-19 00:16:07 +0100 |
| commit | 83b915b88f5a50abe496be23112e23a608949eef (patch) | |
| tree | f498555f32b1f211c10e307bea254aca428daa0d /helpful.el | |
| parent | 99ee4bec41c7fc82c3f96c54ca79fa649451074e (diff) | |
Handle another docstring URL syntax
Diffstat (limited to 'helpful.el')
| -rw-r--r-- | helpful.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -883,10 +883,10 @@ unescaping too." (defun helpful--propertize-bare-links (docstring) "Convert URL links in docstrings to buttons." (replace-regexp-in-string - (rx (group (or string-start space)) + (rx (group (or string-start space "<")) (group "http" (? "s") "://" (+? (not (any space)))) (group (? (any "." ">" ")")) - (or space string-end))) + (or space string-end ">"))) (lambda (match) (let ((space-before (match-string 1 match)) (url (match-string 2 match)) |
