emacs-devel
[Top][All Lists]
Advanced

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

Re: Mark custom function for interactive use only


From: Sebastian Wiesner
Subject: Re: Mark custom function for interactive use only
Date: Mon, 25 Nov 2013 11:41:55 +0100

2013/11/25 Stefan Monnier <address@hidden>:
>> I presume I'd just patch `byte-compile-form' in bytecomp.el to also
>> look at a corresponding property, e.g. `interactive-use-only`.
>> Anything else?
>
> We should also make byte-compile-interactive-only-functions obsolete and
> default it to nil (i.e. move its contents to symbol properties).

Attached is a patch to Emacs trunk, which introduces a
`interactive-only' symbol property as either a string with a "use
instead" message or just t, sets this property on all functions from
byte-compile-interactive-only-functions, and makes
byte-compile-interactive-only-functions as obsolete.

Documentation and tests are missing.  If you can point me to the
proper places and tell me how to run the Emacs tests, I can add these
as well.



reply via email to

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