Subject: bug#44644: /tmp/emacs0/ not cleaned up upon exit

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 27 Nov 2020 09:25:13 +0100

Eli Zaretskii <[email-masked]> writes:

>> We could literally just check whether the parent of server-socket-dir is
>> "/tmp" and only delete then.  It'd be pretty defensive, but should fix
>> this minor annoyance.
>
> If no better ideas come to mind, yes.

OK, done.

> I actually don't share the feeling of an annoyance here: /tmp is
> regularly cleaned up anyway, right?  But that's me.

Only on reboot, and some people have machines running for months, so
keeping /tmp clean-ish is something programs usually try to do.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no