emacs-devel
[Top][All Lists]
Advanced

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

Re: How about making `sleep-for' interactive?


From: Noam Postavsky
Subject: Re: How about making `sleep-for' interactive?
Date: Thu, 27 Jun 2019 15:40:05 -0400

On Thu, 27 Jun 2019 at 00:45, Marcin Borkowski <address@hidden> wrote:

> I noticed today that `sleep-for' is not an (interactive) command.

> Since `sleep-for' is a builtin, I can't prepare a patch (I don't speak
> C very well), but if I get a hint I can try (just to learn something
> new).

FYI, you can make any function interactive by setting its
interactive-form symbol property. For example,

(put 'sleep-for 'interactive-form
     '(interactive "nSleep for: "))



reply via email to

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