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 12:33:08 +0100

2013/11/25 Sebastian Wiesner <address@hidden>:
> 2013/11/25 Sebastian Wiesner <address@hidden>:
>> 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.
>
> Ok, *now* it's attached.  Sorry

I fixed a little mistake, please use the patch attached to this mail instead.

Attachment: interactive-only-property.patch
Description: Binary data


reply via email to

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