|
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
[Prev in Thread] | Current Thread | [Next in Thread] |