branch: master
commit 00aef5927c3a8ec07c70fe535a5414bf8a879b6f
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
hydra.el (hydra--format): Fix "s-t" issue
* hydra.el (hydra--format): Update.
Fixes #107.
---
hydra.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hydra.el b/hydra.el
index e370dbc..0ce5e44 100644
--- a/hydra.el
+++ b/hydra.el
@@ -460,7 +460,7 @@ The expressions can be auto-expanded according to NAME."
offset)
(while (setq start
(string-match
- "\\(?:%\\(
?-?[0-9]*s?\\)\\(`[a-z-A-Z/0-9]+\\|(\\)\\)\\|\\(?:_\\(
?-?[0-9]*\\)\\([[:alnum:]~.,;:/|?<>={}*+#]+\\)_\\)"
+ "\\(?:%\\(
?-?[0-9]*s?\\)\\(`[a-z-A-Z/0-9]+\\|(\\)\\)\\|\\(?:_\\(
?-?[0-9]*\\)\\([[:alnum:]-~.,;:/|?<>={}*+#]+\\)_\\)"
docstring start))
(cond ((eq ?_ (aref (match-string 0 docstring) 0))
(let* ((key (match-string 4 docstring))