Skip to content

Commit

Permalink
hydra.el (hydra--format): Amend key regex
Browse files Browse the repository at this point in the history
Recognize the '=' key.
  • Loading branch information
ffevotte committed Feb 26, 2015
1 parent 6d6bbd4 commit 9fc928b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydra.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 9fc928b

Please sign in to comment.