|
From: | Johan Bockgård |
Subject: | Re: Shift selection using interactive spec |
Date: | Wed, 26 Mar 2008 14:14:45 +0100 |
User-agent: | Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) |
David Kastrup <address@hidden> writes: > The interactive specifications are made part of _functions_ for a > reason, even though it makes it somewhat harder to extract them > explicitly (using interactive-form). It is inconsistent to attach > stuff like that to a property-list that is more or less incidentally > part of a symbol that might or might not be the accessor to a function > cell. Too late ;) > (call-interactively 'woozle) > > currently is equivalent to > > (call-interactively (symbol-function 'woozle)) (defun foo (&optional x) (interactive) x) (fset 'bar 'foo) (put 'bar 'interactive-form '(interactive (list 1))) (call-interactively 'bar) => 1 (call-interactively (symbol-function 'bar)) => nil -- Johan Bockgård
[Prev in Thread] | Current Thread | [Next in Thread] |