diff lisp/=gnuspost.el @ 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 1209d8bbffd3
children cc7cd83ccf3f
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.