changeset 5913:3d155c2636bf

(rmail-variables, rmail-insert-inbox-text): Change user-original-login-name to user-login-name.
author Karl Heuer <kwzh@gnu.org>
date Fri, 11 Feb 1994 22:04:41 +0000
parents 909b94d547c4
children 7643239d5bf2
files lisp/mail/rmail.el
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Fri Feb 11 22:01:56 1994 +0000
+++ b/lisp/mail/rmail.el	Fri Feb 11 22:04:41 1994 +0000
@@ -38,9 +38,6 @@
 (require 'mail-utils)
 
 ;; For Emacs V18 compatibility
-(and (not (fboundp 'user-original-login-name))
-     (fboundp 'user-real-login-name)
-     (defalias 'user-original-login-name 'user-real-login-name))
 (and (not (fboundp 'buffer-disable-undo))
      (fboundp 'buffer-flush-undo)
      (defalias 'buffer-disable-undo 'buffer-flush-undo))
@@ -577,7 +574,7 @@
 	     (or rmail-primary-inbox-list
 		 (list (or (getenv "MAIL")
 			   (concat rmail-spool-directory
-				   (user-original-login-name)))))))
+				   (user-login-name)))))))
   (make-local-variable 'rmail-keywords)
   ;; this gets generated as needed
   (setq rmail-keywords nil)
@@ -782,7 +779,7 @@
 	    ;; On some systems, /usr/spool/mail/foo is a directory
 	    ;; and the actual inbox is /usr/spool/mail/foo/foo.
 	    (if (file-directory-p file)
-		(setq file (expand-file-name (user-original-login-name)
+		(setq file (expand-file-name (user-login-name)
 					     file)))))
       (if popmail
 	  (message "Getting mail from post office ...")