Subject: bug#54878: 29.0.50; diary-fancy-display - with-current-buffer nil

From: Andreas Röhler <[email-masked]>
Date: Wed, 13 Apr 2022 07:43:12 +0200

Am 13.04.22 um 02:09 schrieb Lars Ingebrigtsen:
> Andreas Röhler<[email-masked]>  writes:
>
>> You asked for a diary file. Don't have that. But have a file SOME.org
>> in that directory, where diary-fancy-display is looking into. Which
>> shouldn't matter WRT bug, just because you asked.
> ~/.emacs.d/diary should be a file, not a directory.  Having that be a
> directory is not supported.
>

Let assume the user had such a file. Now it got deleted. Which results 
in that spurious error.

Instead of that opaque error, a warning could be sent - likewise, 
preventing it internally seems an option.