On 2014-12-08, at 08:35, Eric Abrahamsen wrote:

> [...] You could do that in a lambda, but
> it probably won't accept a non-interactive function, [...]

Out of curiosity: can't a lambda (in e.g. global-set-key) be made
interactive?  I did this right now:

(global-set-key (kbd "C-z C-s") (lambda () (interactive) (message "It can be 
done!")))

and it seems to work.  Is it going to change e.g. in future Emacs
versions, IOW, is it deprecated or something?

> Yours,
> Eric

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

Reply via email to