Commits

stephent  committed d934a1f

Fix eshell path completion for Windows. <87zlopmqy8.fsf@uwakimon.sk.tsukuba.ac.jp>

  • Participants
  • Parent commits 3fa344d

Comments (0)

Files changed (2)

+2008-07-08  Fan Kai  <fktpp@xemacs.org>
+
+	* esh-arg.el (eshell-quote-backslash): Fix eshell path completion
+	for Windows.
+
 2008-07-10  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* Makefile (MAINTAINER): Replace John with XEmacs Dev Team.
   "Intelligently backslash the character occuring in STRING at INDEX.
 If the character is itself a backslash, it needs no escaping."
   (let ((char (aref string index)))
-    (if (eq char ?\\)
+    (if (and (eq char ?\\) 
+	     (not (and (featurep 'mswindows)
+		       (eq directory-sep-char ?\\)
+		       (eq (1- (string-width string))
+			   index))))
 	(char-to-string char)
       (if (memq char eshell-special-chars-outside-quoting)
 	  (string ?\\ char)))))