[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42827: 27.1; ~/Emacs file not read at init
From: |
Robert Pluim |
Subject: |
bug#42827: 27.1; ~/Emacs file not read at init |
Date: |
Wed, 12 Aug 2020 15:21:34 +0200 |
Tomasz> Forgotten / somewhere?
Robert> Hmm. Any chance of catching that in gdb so we can see where itʼs
being
Robert> called from?
Completely WAG:
diff --git a/src/xrdb.c b/src/xrdb.c
index e3a1fcb15a..3d7f715c88 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;
bug#42827: 27.1; ~/Emacs file not read at init, Lars Ingebrigtsen, 2020/08/12
Message not available
bug#42827: 27.1; ~/Emacs file not read at init, Paul Eggert, 2020/08/17