[Sawfish] make-keymap and strings

[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]


Hi,

If i open sawfish-client and type:
(bind-keys (make-keymap) "C-i" (lambda (w) (toggle-window-iconified w)))

i got:
(keymap (#<closure 8495294 @ user> 105 . 65540))


this is ok but i have only a sting like this:
(setq my-keymap (concat "C-i (lambda (w) (toggle-window-iconified w))"))

if i now type my-keymap i got:
"C-i (lambda (w) (toggle-window-iconified w))"

and:
(bind-keys (make-keymap) my-keymap) 

returns:
(keymap)

What must i do with my-keymap therewith (bind-keys (make-keymap)
my-keymap) works.


-- 
Regards,
Fuchur

GPG Fingerprint: CA3B 8204 5B3E 6D48 6D53  C116 E5BC 70D5 B8D7 B2B0

Attachment: signature.asc
Description: PGP signature



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/