all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Do not use ~USER/ on MS-DOS
@ 2015-03-02  9:07 Michal Nazarewicz
  2015-03-02 13:41 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Nazarewicz @ 2015-03-02  9:07 UTC (permalink / raw)
  To: Eli Zaretskii, Pete Williamson; +Cc: emacs-devel

From: Michal Nazarewicz <mina86@mina86.com>

* lisp/startup.el (command-line): Since ~USER path expansion is not
supported on MS-DOS, use ~/_emacs instead of ~/USER/_emacs on that
system.
---
 lisp/startup.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/startup.el b/lisp/startup.el
index 999e53e..c10c264 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1084,7 +1084,7 @@ (defun command-line ()
 		    (let ((user-init-file-1
 			   (cond
 			     ((eq system-type 'ms-dos)
-			      (concat "~" init-file-user "/_emacs"))
+			      "~/_emacs")
 			     ((not (eq system-type 'windows-nt))
 			      (concat "~" init-file-user "/.emacs"))
 			     ;; Else deal with the Windows situation
-- 
2.2.0.rc0.207.ga3a616c




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-02 13:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-02  9:07 [PATCH] Do not use ~USER/ on MS-DOS Michal Nazarewicz
2015-03-02 13:41 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.