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

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

Re: To Drew Adams?: `dired-get-marked-files' returns error when not on f


From: Deniz Dogan
Subject: Re: To Drew Adams?: `dired-get-marked-files' returns error when not on file
Date: Tue, 6 Jul 2010 22:58:16 +0200

2010/7/6  <address@hidden>:
> Hallo Group Members
>
> This question is rather to Drew Adams, creator of wonderful dired+
> module, but maybe some of You will point the answer.
>
> I have the impression `dired-get-marked-files' should return nil instead
> signal an error (or at least parameterised) when I am in
> dired buffer and I am pointing on empty line after all files.
>
> why? because how can I handle such situation cleanly in elisp code?
>

I am not entirely sure, but I think `condition-case' could be what you
are looking for.

(info "(elisp) Handling Errors")

-- 
Deniz Dogan



reply via email to

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