emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Do not use ~USER/ on MS-DOS


From: Michal Nazarewicz
Subject: [PATCH] Do not use ~USER/ on MS-DOS
Date: Mon, 2 Mar 2015 10:07:05 +0100

From: Michal Nazarewicz <address@hidden>

* 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]