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

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

Re: question about optional arguments


From: David Kastrup
Subject: Re: question about optional arguments
Date: 08 Jan 2004 07:29:33 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

"leo" <halloleo@noospaam.myrealbox.com> writes:

> the function dired-get-marked-files  has two optinal arguments, so its
> definition looks like
> 
>     dired-get-marked-files (&optional localp arg)
> 
> now i want to call dired-get-marked-files with the specific value 1 for
> secend argument arg but without a value for the first argument localp,
> because the function behaves differently, whether call with an optinal
> localp or not.
> 
> calling it with true for localp like
> 
>     (dired-get-marked-files t 1)
> 
> obiviously doesn't do the job. so,what can i do?

Is that a trick question?

(dired-get-marked-files nil 1)

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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