emacs/emacs-27.1-home.patch

27 lines
779 B
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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:
---
src/xrdb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- src/xrdb.c
+++ src/xrdb.c 2020-08-15 06:15:14.059639732 +0000
@@ -292,9 +292,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;