diff options
| author | Nick Drozd <nicholasdrozd@gmail.com> | 2018-07-07 19:41:56 -0500 |
|---|---|---|
| committer | Nick Drozd <nicholasdrozd@gmail.com> | 2018-07-16 09:33:45 -0500 |
| commit | 1a320c996cf648cb2ec58020f0180078b15b5763 (patch) | |
| tree | 2a77b4aad650b7d48822e2730e137f502cbf4951 /helpful.el | |
| parent | 07fd87cffbcc243b77c1598477167ce702250c48 (diff) | |
Check against global-keycodes before parent-keycodes
The former is usually a subset of the latter, so check it first.
Diffstat (limited to 'helpful.el')
| -rw-r--r-- | helpful.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1236,8 +1236,8 @@ buffer." command-sym (list global-map) nil t)))) (->> keycodes ;; Ignore keybindings from the parent or global map. - (--remove (-contains-p parent-keycodes it)) - (--remove (-contains-p global-keycodes it)) + (--remove (or (-contains-p global-keycodes it) + (-contains-p parent-keycodes it))) ;; Convert raw keycode vectors into human-readable strings. (-map #'key-description)))) |
