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

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

bug#74881: 31.0.50; [PATCH] * lisp/vc/ediff-util.el: Remove temp files o


From: Lin Sun
Subject: bug#74881: 31.0.50; [PATCH] * lisp/vc/ediff-util.el: Remove temp files on kill-emacs
Date: Sun, 15 Dec 2024 05:59:40 +0000

The ediff lefts temporary files "/tmp/fineDiff*" when kill emacs during an 
ediff comparing.

Reproducing steps:

1. echo 0 > /tmp/0; echo 1 > /tmp/1

2. emacs -nw -q -f ediff-files-command /tmp/0 /tmp/1 

on the ediff control buffer, press "n" to move to first difference; there 
should have two temp files like /tmp/fineDiffA* and /tmp/fineDiffB* were 
generated by ediff, stay on the ediff buffer (do not press "q" to quit the 
ediff session). then

3. Press "C-x C-c" or kill-emacs to quit the emacs directly.

Then two temp files /tmp/fineDiff* were left there.

This patch will make sure the temp files be removed when kill-emacs without 
quitting the ediff session.

Attachment: 0001-lisp-vc-ediff-util.el-Remove-temp-files-on-kill-emac.patch
Description: 0001-lisp-vc-ediff-util.el-Remove-temp-files-on-kill-emac.patch


reply via email to

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