[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] Improve message when file to include is missing
From: |
Bastien |
Subject: |
Re: [O] [PATCH] Improve message when file to include is missing |
Date: |
Fri, 24 Jan 2014 12:19:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> What if `buffer-file-name' returns nil? Sure, the problem won't happen
> during agenda generation, but `org-file-contents' is used elsewhere.
>
> Also, it is better to use:
>
> (buffer-file-name (buffer-base-buffer))
>
> since the current buffer may be an indirect one.
I reverted the commit -- I let you guys discuss it and provide the
correct one.
Thanks,
--
Bastien