all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: mafeusek@gmail.com
Cc: emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: dired-get-marked-files question
Date: Mon, 5 Jul 2010 19:22:47 +0200	[thread overview]
Message-ID: <AANLkTimOHgm8iSHtoQI9Zv9MnYxLEErQpy64VA2Zsp0B@mail.gmail.com> (raw)
In-Reply-To: <umt4r5jh3ll2.fsf@gmail.com>

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



  reply	other threads:[~2010-07-05 17:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-05 17:06 dired-get-marked-files question mafeusek
2010-07-05 17:22 ` Deniz Dogan [this message]
2010-07-06  5:28   ` mafeusek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimOHgm8iSHtoQI9Zv9MnYxLEErQpy64VA2Zsp0B@mail.gmail.com \
    --to=deniz.a.m.dogan@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mafeusek@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.