[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 4542b75: Fix bug with ~/Emacs file not being read at init
From: |
Paul Eggert |
Subject: |
emacs-27 4542b75: Fix bug with ~/Emacs file not being read at init |
Date: |
Mon, 17 Aug 2020 00:41:09 -0400 (EDT) |
branch: emacs-27
commit 4542b750ccd03aaf8f2af0fe01bc88bf582aa125
Author: Robert Pluim <rpluim@gmail.com>
Commit: Paul Eggert <eggert@cs.ucla.edu>
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).
---
src/xrdb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/xrdb.c b/src/xrdb.c
index ad7155c..d3ac117 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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-27 4542b75: Fix bug with ~/Emacs file not being read at init,
Paul Eggert <=