GNU bug report logs - #32214
[PATCH] 'message-kill-buffer': fix backup delete question

Previous Next

Package: emacs;

Reported by: Sven Willner <sven.willner <at> gmail.com>

Date: Thu, 19 Jul 2018 15:18:02 UTC

Severity: minor

Tags: patch

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Sven Willner <sven.willner <at> gmail.com>
Cc: 32214 <at> debbugs.gnu.org
Subject: bug#32214: [PATCH] 'message-kill-buffer': fix backup delete question
Date: Thu, 19 Jul 2018 18:15:56 +0200
Sven Willner <sven.willner <at> gmail.com> writes:

>  	(ignore-errors
>  	  (delete-file auto-save-file-name))
>  	(let ((message-draft-article draft-article))
>  	  (message-disassociate-draft)))
> +      (when (and (and auto-save-file-name
> +                 (file-exists-p auto-save-file-name))
> +            (and file-name
> +                 (file-exists-p file-name))

(when (and auto-save-file-name
           (file-exists-p auto-save-file-name)
           file-name
           (file-exists-p file-name))

perhaps? You could even drop the 'when'.

Robert




This bug report was last modified 6 years and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.