From: Robert Pluim Date: Mon, 17 Aug 2020 04:40:19 +0000 (-0700) Subject: Fix bug with ~/Emacs file not being read at init X-Git-Tag: emacs-27.1.90~185 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4542b750ccd03aaf8f2af0fe01bc88bf582aa125;p=emacs.git Fix bug with ~/Emacs file not being read at init * src/xrdb.c (get_user_app): Put "/" between homedir and %L or %N (Bug#42827). --- diff --git a/src/xrdb.c b/src/xrdb.c index ad7155c106e..d3ac1175521 100644 --- a/src/xrdb.c +++ b/src/xrdb.c @@ -289,9 +289,9 @@ get_user_app (const char *class) /* Check in the home directory. This is a bit of a hack; let's hope one's home directory doesn't contain ':' or '%'. */ char const *home = get_homedir (); - db = search_magic_path (home, class, "%L/%N"); + db = search_magic_path (home, class, "/%L/%N"); if (! db) - db = search_magic_path (home, class, "%N"); + db = search_magic_path (home, class, "/%N"); } return db;