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: Bozhidar Batsov
Subject: Re: Mark custom function for interactive use only
Date: Mon, 25 Nov 2013 12:54:46 +0200

The changes look good to me. Once they are approved by Stefan make sure to mention them in the NEWS.

-- 
Cheers,
Bozhidar

On November 25, 2013 at 12:43:14 PM, Sebastian Wiesner (address@hidden) wrote:

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

- interactive-only-property.patch, 9 KB

reply via email to

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