Subject: bug#12123:

From: Eli Zaretskii <[email-masked]>
Date: Sun, 07 Apr 2013 05:42:08 +0300

> Date: Sat, 06 Apr 2013 13:35:09 -0700
> From: Paul Eggert <[email-masked]>
> CC: [email-masked], [email-masked]
> 
> On 04/06/2013 01:22 AM, Eli Zaretskii wrote:
> > Then perhaps we could just borrow the ideas from progreloc.c.
> 
> That sounds like more work than using the Gnulib module,
> I expect.

Not necessarily.  progreloc.c is relatively short, and is really just
a series of platform-dependent methods to find the absolute file name
of the running program.  The MS-Windows method used there is already
being used in Emacs, and most of the infrastructure for relocating a
directory is already in place.