[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 79/287: Fix final map to be a composed keymap that works with erg
From: |
Matthew Fidler |
Subject: |
[elpa] 79/287: Fix final map to be a composed keymap that works with ergoemacs-rm-key |
Date: |
Wed, 02 Jul 2014 14:44:47 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit 36e185495f05a31f34c4f148aa176a06727511ed
Author: Matthew L. Fidler <address@hidden>
Date: Thu Jun 12 10:43:31 2014 -0500
Fix final map to be a composed keymap that works with ergoemacs-rm-key
---
ergoemacs-theme-engine.el | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/ergoemacs-theme-engine.el b/ergoemacs-theme-engine.el
index d92b4b7..e497239 100644
--- a/ergoemacs-theme-engine.el
+++ b/ergoemacs-theme-engine.el
@@ -1247,9 +1247,13 @@ The actual keymap changes are included in
`ergoemacs-emulation-mode-map-alist'."
;; Coaleasing the keymaps needs to be done after removing the
;; keys, otherwise the keys are not removed... Probably
;; playing with pointers in C.
- ;; (setq final-map (ergoemacs-get-fixed-map--combine-maps menu-keymap
final-map))
+ ;;(setq final-map (ergoemacs-get-fixed-map--combine-maps menu-keymap
final-map))
;; Use a combined keymap instead
- (setq final-map (make-composed-keymap (list menu-keymap final-map)))
+ (if (not (ignore-errors (nth 0 (nth 1 final-map))))
+ (setq final-map (list final-map))
+ (pop final-map))
+ (push menu-keymap final-map)
+ (setq final-map (make-composed-keymap final-map))
;; Rebuild Shortcut hash
(let (tmp)
(dolist (c (reverse shortcut-list))
- [elpa] 71/287: Fix isearch issues., (continued)
- [elpa] 71/287: Fix isearch issues., Matthew Fidler, 2014/07/02
- [elpa] 60/287: Ensure the object-name is a string. EIEIO seems to prefer this., Matthew Fidler, 2014/07/02
- [elpa] 69/287: Install shortcut-layer appropriately for keymaps., Matthew Fidler, 2014/07/02
- [elpa] 73/287: use remove-duplicates instead, Matthew Fidler, 2014/07/02
- [elpa] 70/287: Fix most global-set-key after issues, Matthew Fidler, 2014/07/02
- [elpa] 65/287: Add more emulation alists. Less list manipulation, Matthew Fidler, 2014/07/02
- [elpa] 74/287: Fix <apps> e t bug with object interface., Matthew Fidler, 2014/07/02
- [elpa] 75/287: Only put in shortcut-hash if not removed from keymap., Matthew Fidler, 2014/07/02
- [elpa] 68/287: Make the caching more robust, Matthew Fidler, 2014/07/02
- [elpa] 72/287: Fix copy objects to allow keymap versions., Matthew Fidler, 2014/07/02
- [elpa] 79/287: Fix final map to be a composed keymap that works with ergoemacs-rm-key,
Matthew Fidler <=
- [elpa] 76/287: Only Issue 86 still persists., Matthew Fidler, 2014/07/02
- [elpa] 77/287: Ensure ergoemacs-global-override-rm-keys is a list of vectors, Matthew Fidler, 2014/07/02
- [elpa] 80/287: Reverse order to allow <apps> h z processing., Matthew Fidler, 2014/07/02
- [elpa] 82/287: Ignored keys shouldn't be in the shortcut hash, Matthew Fidler, 2014/07/02
- [elpa] 83/287: Allow ergoemacs-rm-key to remove a list, Matthew Fidler, 2014/07/02
- [elpa] 84/287: Break-out sending unread-command events, Matthew Fidler, 2014/07/02
- [elpa] 85/287: Keep track of shortcut key prefixes, Matthew Fidler, 2014/07/02
- [elpa] 81/287: Added version menu back, Matthew Fidler, 2014/07/02
- [elpa] 87/287: Remove "Z" in theme component, Matthew Fidler, 2014/07/02
- [elpa] 144/287: Generate image based on options, Matthew Fidler, 2014/07/02