aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1994-02-11 22:04:41 +0000
committerKarl Heuer1994-02-11 22:04:41 +0000
commitd0eecffacb1b585868ab13af3b1cd808bce77bbe (patch)
tree9f3185de13f8216974606e71f9164da4953c46fc
parentcef7ae6e1aca2ffa9c163ece8c4668b5b91ef416 (diff)
downloademacs-d0eecffacb1b585868ab13af3b1cd808bce77bbe.tar.gz
emacs-d0eecffacb1b585868ab13af3b1cd808bce77bbe.zip
(rmail-variables, rmail-insert-inbox-text): Change user-original-login-name to
user-login-name.
-rw-r--r--lisp/mail/rmail.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 17b87a83c4d..5ce007ef8f6 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -38,9 +38,6 @@
38(require 'mail-utils) 38(require 'mail-utils)
39 39
40;; For Emacs V18 compatibility 40;; For Emacs V18 compatibility
41(and (not (fboundp 'user-original-login-name))
42 (fboundp 'user-real-login-name)
43 (defalias 'user-original-login-name 'user-real-login-name))
44(and (not (fboundp 'buffer-disable-undo)) 41(and (not (fboundp 'buffer-disable-undo))
45 (fboundp 'buffer-flush-undo) 42 (fboundp 'buffer-flush-undo)
46 (defalias 'buffer-disable-undo 'buffer-flush-undo)) 43 (defalias 'buffer-disable-undo 'buffer-flush-undo))
@@ -577,7 +574,7 @@ Instead, these commands are available:
577 (or rmail-primary-inbox-list 574 (or rmail-primary-inbox-list
578 (list (or (getenv "MAIL") 575 (list (or (getenv "MAIL")
579 (concat rmail-spool-directory 576 (concat rmail-spool-directory
580 (user-original-login-name))))))) 577 (user-login-name)))))))
581 (make-local-variable 'rmail-keywords) 578 (make-local-variable 'rmail-keywords)
582 ;; this gets generated as needed 579 ;; this gets generated as needed
583 (setq rmail-keywords nil) 580 (setq rmail-keywords nil)
@@ -782,7 +779,7 @@ argument causes us to read a file name and use that file as the inbox."
782 ;; On some systems, /usr/spool/mail/foo is a directory 779 ;; On some systems, /usr/spool/mail/foo is a directory
783 ;; and the actual inbox is /usr/spool/mail/foo/foo. 780 ;; and the actual inbox is /usr/spool/mail/foo/foo.
784 (if (file-directory-p file) 781 (if (file-directory-p file)
785 (setq file (expand-file-name (user-original-login-name) 782 (setq file (expand-file-name (user-login-name)
786 file))))) 783 file)))))
787 (if popmail 784 (if popmail
788 (message "Getting mail from post office ...") 785 (message "Getting mail from post office ...")