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: Stefan Monnier
Subject: Re: Mark custom function for interactive use only
Date: Sun, 24 Nov 2013 13:22:31 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> as you all know, the byte compiler warns if some functions (e.g.
> "next-line") are called from Lisp.

> Is there a way to mark my own functions for "interactive use only" and
> have the byte compiler emit the same warning for these functions, too?
>  Do I need to set a special symbol property, etc.?

You can add them to byte-compile-interactive-only-functions, but it's
rather inconvenient.  We should replace this list with a symbol
property, indeed.  Patch welcome,


        Stefan



reply via email to

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