Mercurial > emacs
changeset 11135:9ab21ef32537
(init_editfns): Use NAME envvar to init user-full-name.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 27 Mar 1995 20:39:28 +0000 |
parents | 6f4c5a47520e |
children | 043aedff8710 |
files | src/editfns.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/editfns.c Mon Mar 27 20:35:52 1995 +0000 +++ b/src/editfns.c Mon Mar 27 20:39:28 1995 +0000 @@ -117,6 +117,10 @@ Vuser_full_name = build_string (r); } #endif /* AMPERSAND_FULL_NAME */ + + p = getenv ("NAME"); + if (p) + Vuser_full_name = build_string (p); } DEFUN ("char-to-string", Fchar_to_string, Schar_to_string, 1, 1, 0,