branch: elpa/flycheck
commit 1e21055f4baecd02a5b0d88ae6fe1b6b33c1bf64
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Allow flycheck-command-map to be used as a prefix command
Set the function cell of the flycheck-command-map symbol to the
keymap value, enabling its use with keymap-set and similar
functions that expect a command symbol.
Closes #2137
---
flycheck.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/flycheck.el b/flycheck.el
index 20f832205b..2e224aaaf5 100644
--- a/flycheck.el
+++ b/flycheck.el
@@ -1105,6 +1105,8 @@ is used."
map)
"Keymap of Flycheck interactive commands.")
+(fset 'flycheck-command-map flycheck-command-map)
+
(defcustom flycheck-keymap-prefix (kbd "C-c !")
"Prefix for key bindings of Flycheck.