why this keybind does not work
- From: "Chengqi(Lars) Song" <songcq gmail com>
- To: sawfish-list <sawfish-list gnome org>
- Subject: why this keybind does not work
- Date: Mon, 27 Apr 2009 20:45:23 +0800
hi,
i want to map H-1/2/3/4/5 to switch to workspace 0/1/2/3/4. It works when I bind-key one by one. but why this piece of code does not work:
(mapc (lambda (ki)
(let ((k (car ki))
(i (cdr ki)))
(bind-keys global-keymap (concat "H-" k) '(select-workspace-from-first i))
'(("1" . 0)
("2" . 1)
("3" . 2)
("4" . 3)
("5" . 4)))
thanks
lars
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]