hydra.el (hydra-key-regex): Add "\\"

Fixes #257
master
Oleh Krehel 9 years ago
parent b12d37ac00
commit df3025f7e3
  1. 2
      hydra.el

@ -631,7 +631,7 @@ HEAD's binding is returned as a string wrapped with [] or {}."
(defconst hydra-width-spec-regex " ?-?[0-9]*?"
"Regex for the width spec in keys and %` quoted sexps.")
(defvar hydra-key-regex "\\[\\|]\\|[-[:alnum:] ~.,;:/|?<>={}*+#%@!&^↑↓←→⌫⌦⏎'`()\"$]+?"
(defvar hydra-key-regex "\\[\\|]\\|[-\\[:alnum:] ~.,;:/|?<>={}*+#%@!&^↑↓←→⌫⌦⏎'`()\"$]+?"
"Regex for the key quoted in the docstring.")
(defun hydra--format (_name body docstring heads)

Loading…
Cancel
Save