aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-16 07:01:36 +0000
committerDan Nicolaescu2008-07-16 07:01:36 +0000
commit6b0273cd0a5ffcb7dc98b311bbfb4a112fc7db65 (patch)
tree4fff763e222569289a50d6c9cf4efac20ddbe307 /src/editfns.c
parent7206e7b7c7d36eef134ed0baddddc1370b04044d (diff)
downloademacs-6b0273cd0a5ffcb7dc98b311bbfb4a112fc7db65.tar.gz
emacs-6b0273cd0a5ffcb7dc98b311bbfb4a112fc7db65.zip
* editfns.c (Fuser_full_name): Replace the only use of
USER_FULL_NAME with its value. * config.in: Regenerate. * configure.in (freebsd, kfreebsd): Undo part of previous change. (USER_FULL_NAME): Remove, not used anymore. * configure: Regenerate.
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 0487ecf4707..71973cec914 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -1370,7 +1370,7 @@ name, or nil if there is no such user. */)
1370 if (!pw) 1370 if (!pw)
1371 return Qnil; 1371 return Qnil;
1372 1372
1373 p = (unsigned char *) USER_FULL_NAME; 1373 p = (unsigned char *) pw->pw_gecos;
1374 /* Chop off everything after the first comma. */ 1374 /* Chop off everything after the first comma. */
1375 q = (unsigned char *) index (p, ','); 1375 q = (unsigned char *) index (p, ',');
1376 full = make_string (p, q ? q - p : strlen (p)); 1376 full = make_string (p, q ? q - p : strlen (p));