framework: fix meta keybindings setup

Don't add "~c:" to a keybinding that has "c:".

original commit: c8de8d3ae8e0aa7fc280fed8262ecf1dfa73926b
This commit is contained in:
Matthew Flatt 2013-06-22 05:46:35 -06:00
parent fff2256bb9
commit c112ceeca7

View File

@ -321,7 +321,9 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(define (make-meta-prefix-list key)
(list (string-append "~c:m:" key)
(list (if (regexp-match #rx"(?:^|:)c:" key)
(string-append "m:" key)
(string-append "~c:m:" key))
(string-append "ESC;" key)))
(define send-map-function-meta