termux-packages/packages/emacs/no_user_fullname.patch
2022-04-06 12:38:50 +02:00

12 lines
337 B
Diff

--- ./src/editfns.c.orig 2022-04-06 12:34:24.052297271 +0200
+++ ./src/editfns.c 2022-04-06 12:34:54.075849159 +0200
@@ -1266,7 +1266,7 @@
if (!pw)
return Qnil;
- p = USER_FULL_NAME;
+ p = "termux";
/* Chop off everything after the first comma, since 'pw_gecos' is a
comma-separated list. */
q = strchr (p, ',');