* dired-get-marked-files question
@ 2010-07-05 17:06 mafeusek
2010-07-05 17:22 ` Deniz Dogan
0 siblings, 1 reply; 3+ messages in thread
From: mafeusek @ 2010-07-05 17:06 UTC (permalink / raw)
To: emacs mailing list
Hallo Group Members
I am visiting directory and I didn't mark any files (with `m' key). When I
invoke (dired-get-marked-files), it returns list with single element
which is file under point.
Do You know how can I figure out that no file is marked in current dired buffer
then?
best regards,
Pawel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dired-get-marked-files question
2010-07-05 17:06 dired-get-marked-files question mafeusek
@ 2010-07-05 17:22 ` Deniz Dogan
2010-07-06 5:28 ` mafeusek
0 siblings, 1 reply; 3+ messages in thread
From: Deniz Dogan @ 2010-07-05 17:22 UTC (permalink / raw)
To: mafeusek; +Cc: emacs mailing list
2010/7/5 <mafeusek@gmail.com>:
> Hallo Group Members
>
> I am visiting directory and I didn't mark any files (with `m' key). When I
> invoke (dired-get-marked-files), it returns list with single element
> which is file under point.
>
> Do You know how can I figure out that no file is marked in current dired buffer
> then?
>
> best regards,
> Pawel
>
>
Use the "distinguish-one-marked" argument.
If DISTINGUISH-ONE-MARKED is non-nil, then if we find just one marked file,
return (t FILENAME) instead of (FILENAME).
Don't use that together with FILTER.
--
Deniz Dogan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dired-get-marked-files question
2010-07-05 17:22 ` Deniz Dogan
@ 2010-07-06 5:28 ` mafeusek
0 siblings, 0 replies; 3+ messages in thread
From: mafeusek @ 2010-07-06 5:28 UTC (permalink / raw)
To: help-gnu-emacs
Deniz Dogan <deniz.a.m.dogan@gmail.com> writes:
>
> Use the "distinguish-one-marked" argument.
>
> If DISTINGUISH-ONE-MARKED is non-nil, then if we find just one marked file,
> return (t FILENAME) instead of (FILENAME).
> Don't use that together with FILTER.
Deniz,
it did the job!
Thanks alot,
best regards,
Pawel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-07-06 5:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-05 17:06 dired-get-marked-files question mafeusek
2010-07-05 17:22 ` Deniz Dogan
2010-07-06 5:28 ` mafeusek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).