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

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

Re: Inappropriate error message on saving new file


From: Eli Zaretskii
Subject: Re: Inappropriate error message on saving new file
Date: Thu, 16 Nov 2023 20:39:06 +0200

> From: Frederick Bartlett <frederick.bartlett@gmail.com>
> Date: Thu, 16 Nov 2023 13:07:18 -0500
> 
> I’m running Emacs 30.0.50 on Fedora 39.
> 
> When I save a new buffer, I get the following upon first saving it, even
> after checking that the auto-saved file exists:
> 
> Debugger entered--Lisp error: (void-function delete-file)
>   delete-file("<FILEPATH>#<FILENAME>#")
>   delete-auto-save-file-if-necessary(t)
>   basic-save-buffer(t)
>   save-buffer(1)
>   funcall-interactively(save-buffer 1)
>   call-interactively(save-buffer nil nil)
>   command-execute(save-buffer)

I'm guessing this is not in "emacs -Q", in which case crystal ball
says some of your customizations are responsible for this.
delete-file is a primitive, i.e. implemented in C, and is always
available in Emacs, so the only way to make it disappear is if some
code makes its function cell void.



reply via email to

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