emacs-devel
[Top][All Lists]
Advanced

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

Re: Limit what M-x TAB lists?


From: Stefan Monnier
Subject: Re: Limit what M-x TAB lists?
Date: Thu, 26 Dec 2013 12:50:51 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> (unless (fboundp 'command)
>   (defmacro command (&rest args)
>     `(interactive ,@(cdr args))))

I suspect it wouldn't work.

But AFAICT

  (interactive "p" :pred blabla)

is treated by all Emacsen (haven't checked XEmacs) identically to

  (interactive "p")

except for a compile-time warning about the extraneous stuff.


        Stefan



reply via email to

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