+ "Chengqi(Lars) Song" <[email protected]>: > (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)))
First thing to try is to replace '(select-workspace-from-first i) with `(select-workspace-from-first ,i) See backquoting, in the Macros chapter of the manual. - Harald
