diff options
author | Amin Bandali <bandali@gnu.org> | 2019-11-18 10:24:48 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2020-01-13 01:51:00 -0500 |
commit | 37e0d00c143ddb6d5e978eb1d3ac9c1d1aba3860 (patch) | |
tree | 16d37222fb74bc03499852b7acbb47256983ff1b /lisp/vc/vc-git.el | |
parent | d47b157969356f15e038dbbfa4da7769f6f98583 (diff) | |
download | emacs-37e0d00c143ddb6d5e978eb1d3ac9c1d1aba3860.tar.gz emacs-37e0d00c143ddb6d5e978eb1d3ac9c1d1aba3860.tar.bz2 emacs-37e0d00c143ddb6d5e978eb1d3ac9c1d1aba3860.zip |
Improve ERC's matching of nicks and URLs (bug#38257)
* lisp/erc/erc-{button,match}.el (erc-{button,match}-syntax-table):
Omit (, ), and '; as they're not valid nick characters, per RFC 2812
section 2.3.1. This enables correct matching/highlighting of nicks
when they're surrounded by parens, like (nick), and when adjacent to
an apostrophe, like nick's.
* lisp/erc/erc-button.el (erc-button-url-regexp): Use the regexp from
browse-url-button-regexp, which among other things, seems to handle
surrounding pair of parens better.
Diffstat (limited to 'lisp/vc/vc-git.el')
0 files changed, 0 insertions, 0 deletions