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

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

Inappropriate error message on saving new file


From: Frederick Bartlett
Subject: Inappropriate error message on saving new file
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 note that delete-auto-save-file-if-necessary occurs after delete-file;
but I don’t see how that could produce the error message.

After ignoring that first error, everything works as expected, so it’s not
a major problem, but I’d like to understand what Emacs is doing.

Thanks!
Fred


reply via email to

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