Mercurial > emacs
changeset 5910:287191542bb3
(gnus-inews-login-name): Remove unnecessary (getenv "LOGNAME") and (getenv
"USER"), since (user-login-name) already does this.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 11 Feb 1994 21:55:57 +0000 |
parents | 5e38d151ac1a |
children | cfd1fc2b1c7b |
files | lisp/=gnuspost.el |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/=gnuspost.el Fri Feb 11 21:54:44 1994 +0000 +++ b/lisp/=gnuspost.el Fri Feb 11 21:55:57 1994 +0000 @@ -631,10 +631,9 @@ (defun gnus-inews-login-name () "Return user login name. -Got from the variable gnus-user-login-name, the environment variables -USER and LOGNAME, and the function user-login-name." - (or gnus-user-login-name - (getenv "USER") (getenv "LOGNAME") (user-login-name))) +Got from the variable `gnus-user-login-name' and the function +`user-login-name'." + (or gnus-user-login-name (user-login-name))) (defun gnus-inews-full-name () "Return user full name.