diff options
| author | Richard M. Stallman | 1995-03-27 20:39:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-03-27 20:39:28 +0000 |
| commit | 9d36d0714bd61e252483acaa5f80501838a50175 (patch) | |
| tree | 857d51c93f261083ed8e07167d17c7e513451280 /src | |
| parent | 92ccb044f0965e5013580ba5d96e319a98e0ac60 (diff) | |
| download | emacs-9d36d0714bd61e252483acaa5f80501838a50175.tar.gz emacs-9d36d0714bd61e252483acaa5f80501838a50175.zip | |
(init_editfns): Use NAME envvar to init user-full-name.
Diffstat (limited to 'src')
| -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 () | |||
| 117 | Vuser_full_name = build_string (r); | 117 | Vuser_full_name = build_string (r); |
| 118 | } | 118 | } |
| 119 | #endif /* AMPERSAND_FULL_NAME */ | 119 | #endif /* AMPERSAND_FULL_NAME */ |
| 120 | |||
| 121 | p = getenv ("NAME"); | ||
| 122 | if (p) | ||
| 123 | Vuser_full_name = build_string (p); | ||
| 120 | } | 124 | } |
| 121 | 125 | ||
| 122 | DEFUN ("char-to-string", Fchar_to_string, Schar_to_string, 1, 1, 0, | 126 | DEFUN ("char-to-string", Fchar_to_string, Schar_to_string, 1, 1, 0, |