From 9fc928b8abe615cf7a5d84fe56a542da3ec9f926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20F=C3=A9votte?= Date: Thu, 26 Feb 2015 11:43:34 -0400 Subject: [PATCH] hydra.el (hydra--format): Amend key regex Recognize the '=' key. --- hydra.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra.el b/hydra.el index 35eb716..6959cc9 100644 --- a/hydra.el +++ b/hydra.el @@ -447,7 +447,7 @@ The expressions can be auto-expanded according to NAME." offset) (while (setq start (string-match - "\\(?:%\\( ?-?[0-9]*\\)\\(`[a-z-A-Z/0-9]+\\|(\\)\\)\\|\\(?:_\\( ?-?[0-9]*\\)\\([a-z-~A-Z0-9/|?<>]+\\)_\\)" + "\\(?:%\\( ?-?[0-9]*\\)\\(`[a-z-A-Z/0-9]+\\|(\\)\\)\\|\\(?:_\\( ?-?[0-9]*\\)\\([a-z-~A-Z0-9/|?<>=]+\\)_\\)" docstring start)) (cond ((eq ?_ (aref (match-string 0 docstring) 0)) (let* ((key (match-string 4 docstring))