branch: externals/ergoemacs-mode
commit 8ea44c2a806f439eaa806905012cc2c10bc6adfe
Author: Fidler <[email protected]>
Commit: Fidler <[email protected]>
Bug fix for modifiers
---
ergoemacs-translate.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/ergoemacs-translate.el b/ergoemacs-translate.el
index d8e3b60..cf9272d 100644
--- a/ergoemacs-translate.el
+++ b/ergoemacs-translate.el
@@ -316,6 +316,7 @@ LAYOUT is the keyboard layout."
;; Add 'ergoemacs-gui to the modifiers
(when (and (symbolp event)
(setq tmp (symbol-name event))
+ (>= (length tmp) 2)
(char-equal (aref (substring tmp -2 -1) 0) ?-)
(memq (aref (substring tmp -1) 0)
(list ?\[ ?i ?m)))