termux-packages/packages/emacs/no_user_fullname.patch

12 lines
337 B
Diff
Raw Normal View History

2022-04-06 12:38:50 +02:00
--- ./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 @@
2015-06-13 01:03:31 +02:00
if (!pw)
return Qnil;
- p = USER_FULL_NAME;
2022-04-06 12:38:50 +02:00
+ p = "termux";
/* Chop off everything after the first comma, since 'pw_gecos' is a
comma-separated list. */
2015-06-13 01:03:31 +02:00
q = strchr (p, ',');