From f1101fdc8270d26acb80e522245b0991847e2633 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 23 Jul 2021 13:15:32 +0200 Subject: [PATCH] Make erc recognize `foo*' as a function Lisp symbol * lisp/erc/erc-button.el (erc-button-alist): Add some more chars to the `foo' button regexp (bug#49690). --- lisp/erc/erc-button.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/erc/erc-button.el b/lisp/erc/erc-button.el index cb9af92ba12..4678e7b5609 100644 --- a/lisp/erc/erc-button.el +++ b/lisp/erc/erc-button.el @@ -130,7 +130,8 @@ longer than `erc-fill-column'." (" ]+\\) *>" 0 t browse-url-button-open-url 1) ;;; ("(\\(\\([^~\n \t@][^\n \t@]*\\)@\\([a-zA-Z0-9.:-]+\\)\\)" 1 t finger 2 3) ;; emacs internal - ("[`]\\([a-zA-Z][-a-zA-Z_0-9]+\\)[']" 1 t erc-button-describe-symbol 1) + ("[`]\\([a-zA-Z][-a-zA-Z_0-9!*<=>+]+\\)[']" + 1 t erc-button-describe-symbol 1) ;; pseudo links ("\\bInfo:[\"]\\([^\"]+\\)[\"]" 0 t Info-goto-node 1) ("\\b\\(Ward\\|Wiki\\|WardsWiki\\|TheWiki\\):\\([A-Z][a-z]+\\([A-Z][a-z]+\\)+\\)" -- 2.39.2