Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ec04db35
Commit
ec04db35
authored
Jul 18, 2008
by
Glenn Morris
Browse files
(eshell-quote-backslash): Restrict previous change to XEmacs, since it
does nothing for Emacs.
parent
add4eecc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/eshell/esh-arg.el
lisp/eshell/esh-arg.el
+6
-4
No files found.
lisp/ChangeLog
View file @
ec04db35
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
...
...
lisp/eshell/esh-arg.el
View file @
ec04db35
;;; esh-arg.el --- argument processing
;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004,
;; 200
5, 2006, 2007, 200
8 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>
...
...
@@ -282,8 +282,10 @@ Point is left at the end of the arguments."
"Intelligently backslash the character occurring in STRING at INDEX.
If the character is itself a backslash, it needs no escaping."
(
let
((
char
(
aref
string
index
)))
(
if
(
and
(
eq
char
?\\
)
(
not
(
and
(
featurep
'mswindows
)
(
if
(
and
(
eq
char
?\\
)
;; 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
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment