mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-17 19:30:38 -08:00
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).
This commit is contained in:
parent
9b403d624e
commit
4542b750cc
1 changed files with 2 additions and 2 deletions
|
|
@ -289,9 +289,9 @@ get_user_app (const char *class)
|
||||||
/* Check in the home directory. This is a bit of a hack; let's
|
/* Check in the home directory. This is a bit of a hack; let's
|
||||||
hope one's home directory doesn't contain ':' or '%'. */
|
hope one's home directory doesn't contain ':' or '%'. */
|
||||||
char const *home = get_homedir ();
|
char const *home = get_homedir ();
|
||||||
db = search_magic_path (home, class, "%L/%N");
|
db = search_magic_path (home, class, "/%L/%N");
|
||||||
if (! db)
|
if (! db)
|
||||||
db = search_magic_path (home, class, "%N");
|
db = search_magic_path (home, class, "/%N");
|
||||||
}
|
}
|
||||||
|
|
||||||
return db;
|
return db;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue