emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] C-x RET r utf-8 RET


From: Marcin Borkowski
Subject: Re: [O] C-x RET r utf-8 RET
Date: Mon, 08 Dec 2014 10:00:02 +0100

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

[Prev in Thread] Current Thread [Next in Thread]