Commit ec04db35 authored by Glenn Morris's avatar Glenn Morris
Browse files

(eshell-quote-backslash): Restrict previous change to XEmacs, since it

does nothing for Emacs.
parent add4eecc
2008-07-18 Glenn Morris <rgm@gnu.org>
* eshell/esh-arg.el (eshell-quote-backslash): Restrict previous change
to XEmacs, since it does nothing for Emacs.
2008-07-18 Katsumi Yamaoka <yamaoka@jpl.org>
* net/tls.el (open-tls-stream): Make it work with the 2nd argument
......
;;; esh-arg.el --- argument processing
;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
;; 2008 Free Software Foundation, Inc.
;; Author: John Wiegley <johnw@gnu.org>
......@@ -283,7 +283,9 @@ Point is left at the end of the arguments."
If the character is itself a backslash, it needs no escaping."
(let ((char (aref string index)))
(if (and (eq char ?\\)
(not (and (featurep 'mswindows)
;; In Emacs directory-sep-char is always ?/, so this does nothing.
(not (and (featurep 'xemacs)
(featurep 'mswindows)
(eq directory-sep-char ?\\)
(eq (1- (string-width string))
index))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment