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

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

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


From: Robert Pluim
Subject: bug#32214: [PATCH] 'message-kill-buffer': fix backup delete question
Date: Thu, 19 Jul 2018 18:15:56 +0200

Sven Willner <address@hidden> 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





reply via email to

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