help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: default value with interactive


From: Emanuel Berg
Subject: Re: default value with interactive
Date: Tue, 21 Nov 2017 03:00:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Robert Thorpe wrote:

> If you ever want to put in the concrete
> value, then you can. This is done by the help
> functions such as 'describe-function'. If you
> put point on the words describe-function then
> press C-h f it will prompt you with that
> function as the default. If you look at the
> source you can see how it's done.

Not really what I can see (?) -
`describe-function' does it with the obarray
stunt and the default value is computed with
`function-called-at-point' well inside the
`interactive' form - so if you want that again
in the function body (i.e., outside of
`interactive') the only way at least that I'm
aware of is to compute it again.

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

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