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

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

bug#11534: 24.0.97; `dired-get-marked-files' does not behave as document


From: Lars Ingebrigtsen
Subject: bug#11534: 24.0.97; `dired-get-marked-files' does not behave as documented
Date: Sun, 09 Feb 2014 23:14:07 -0800
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux)

"Drew Adams" <drew.adams@oracle.com> writes:

> emacs -Q
>
> Put point on any file line.
>
> M-: (dired-get-marked-files)
>
> It returns the name of that line's file.
>
> But the doc string says this about argument ARG, which is nil in this
> case:
>
> Optional second argument ARG, if non-nil, specifies files near
>  point instead of marked files.  It usually comes from the prefix
>  argument.
>   If ARG is an integer, use the next ARG files.
>   Any other non-nil value means to use the current file instead.
>
> It does not explicitly say anything about what happens when ARG is nil
> (and no files are marked).  But a reader could reasonably assume that
> none of what happens when ARG is non-nil would happen.

I've removed " non-nil" so that the documentation says what it does.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





reply via email to

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