mirror of
https://github.com/vale981/boon
synced 2025-03-05 09:31:43 -05:00
refine list of not C-ed events
This commit is contained in:
parent
2547e10d25
commit
ab49c4019a
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@
|
||||||
"Swap the control 'bit' in EVENT, if that is a good choice."
|
"Swap the control 'bit' in EVENT, if that is a good choice."
|
||||||
(interactive (list (read-key)))
|
(interactive (list (read-key)))
|
||||||
(cond
|
(cond
|
||||||
((memq event '(9 13 ?{ ?} ?[ ?] ?$ ?< ?> ?: ?\; ?/ ??)) event)
|
((memq event '(9 13 ?{ ?} ?[ ?] ?$ ?< ?> ?: ?\; ?/ ?? ?. ?,)) event)
|
||||||
((<= event 27) (+ 96 event))
|
((<= event 27) (+ 96 event))
|
||||||
((not (eq 0 (logand (lsh 1 26) event))) (logxor (lsh 1 26) event))
|
((not (eq 0 (logand (lsh 1 26) event))) (logxor (lsh 1 26) event))
|
||||||
(t (list 'control event))))
|
(t (list 'control event))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue