[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 77/287: Ensure ergoemacs-global-override-rm-keys is a list of vec
From: |
Matthew Fidler |
Subject: |
[elpa] 77/287: Ensure ergoemacs-global-override-rm-keys is a list of vectors |
Date: |
Wed, 02 Jul 2014 14:44:46 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit d3f3e32f73c796e8580cad2642fd202f8dacc599
Author: Matthew L. Fidler <address@hidden>
Date: Thu Jun 12 10:17:14 2014 -0500
Ensure ergoemacs-global-override-rm-keys is a list of vectors
---
ergoemacs-advices.el | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/ergoemacs-advices.el b/ergoemacs-advices.el
index 5c780ae..798382f 100644
--- a/ergoemacs-advices.el
+++ b/ergoemacs-advices.el
@@ -103,19 +103,19 @@ Also adds keymap-flag for user-defined keys run with
`run-mode-hooks'."
(add-to-list 'ergoemacs-global-changed-cache (key-description key))
(when ergoemacs-global-not-changed-cache
(delete (key-description key) ergoemacs-global-not-changed-cache))
- (add-to-list 'ergoemacs-global-override-rm-keys key)
- (when (and (boundp 'ergoemacs-mode) ergoemacs-mode)
- (setq ergoemacs-shortcut-keymap (ergoemacs-rm-key
ergoemacs-shortcut-keymap key)
- ergoemacs-read-input-keymap (ergoemacs-rm-key
ergoemacs-read-input-keymap key)
- ergoemacs-keymap (ergoemacs-rm-key ergoemacs-keymap key)
- ergoemacs-unbind-keymap (ergoemacs-rm-key ergoemacs-keymap
key))
- (remhash key ergoemacs-command-shortcuts-hash)
- (setq ergoemacs-read-emulation-mode-map-alist
- (list (cons 'ergoemacs-read-input-keys
ergoemacs-read-input-keymap))
- ergoemacs-emulation-mode-map-alist
- (append (nbutlast ergoemacs-emulation-mode-map-alist 1)
- (list (cons 'ergoemacs-shortcut-keys
ergoemacs-shortcut-keymap))))
- (ergoemacs-shuffle-keys t))))))
+ (add-to-list 'ergoemacs-global-override-rm-keys (or (and (vectorp key)
key)
+ (read-kbd-macro
(key-description key) t)))
+ (setq ergoemacs-shortcut-keymap (ergoemacs-rm-key
ergoemacs-shortcut-keymap key)
+ ergoemacs-read-input-keymap (ergoemacs-rm-key
ergoemacs-read-input-keymap key)
+ ergoemacs-keymap (ergoemacs-rm-key ergoemacs-keymap key)
+ ergoemacs-unbind-keymap (ergoemacs-rm-key ergoemacs-keymap key))
+ (remhash key ergoemacs-command-shortcuts-hash)
+ (setq ergoemacs-read-emulation-mode-map-alist
+ (list (cons 'ergoemacs-read-input-keys
ergoemacs-read-input-keymap))
+ ergoemacs-emulation-mode-map-alist
+ (append (nbutlast ergoemacs-emulation-mode-map-alist 1)
+ (list (cons 'ergoemacs-shortcut-keys
ergoemacs-shortcut-keymap))))
+ (ergoemacs-shuffle-keys t)))))
(defadvice local-set-key (around ergoemacs-local-set-key-advice (key command)
activate)
"This let you use `local-set-key' as usual when `ergoemacs-mode' is enabled."
- [elpa] 69/287: Install shortcut-layer appropriately for keymaps., (continued)
- [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, 2014/07/02
- [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 <=
- [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
- [elpa] 86/287: Always suppress shortcuts in read-key-lookup, Matthew Fidler, 2014/07/02
- [elpa] 88/287: Apply defered variables/modes. Fix Issue #216, Matthew Fidler, 2014/07/02