diff options
author | Robert Pluim <rpluim@gmail.com> | 2020-08-16 21:40:19 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-08-16 21:41:03 -0700 |
commit | 4542b750ccd03aaf8f2af0fe01bc88bf582aa125 (patch) | |
tree | af8cf71495ccff1fdf2264ef067e605b92901e60 | |
parent | 9b403d624ee6e608d1ff3d577e358b6befe743e1 (diff) | |
download | emacs-4542b750ccd03aaf8f2af0fe01bc88bf582aa125.tar.gz |
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).
-rw-r--r-- | src/xrdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |