diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-03-27 20:39:28 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-03-27 20:39:28 +0000 |
commit | 41d8c9ae954297969fa85b5dfe19f338797b6901 (patch) | |
tree | 055ca363817a7ddebe86ca377d33e77212561006 /src/editfns.c | |
parent | 409f8971b19f8c11b6025db57d02e3cd2ea239bd (diff) | |
download | emacs-41d8c9ae954297969fa85b5dfe19f338797b6901.tar.gz |
(init_editfns): Use NAME envvar to init user-full-name.
Diffstat (limited to 'src/editfns.c')
-rw-r--r-- | src/editfns.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/editfns.c b/src/editfns.c index 6abbe0e9a26..41afda29a6d 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -117,6 +117,10 @@ init_editfns () 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, |