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
4372494f
Commit
4372494f
authored
Jan 28, 2012
by
Drew Adams
Committed by
Michael Albinus
Jan 28, 2012
Browse files
* net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
`default-directory' is non-nil.
parent
4d4ec1f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/net/ange-ftp.el
lisp/net/ange-ftp.el
+2
-1
No files found.
lisp/ChangeLog
View file @
4372494f
2012-01-28 Drew Adams <drew.adams@oracle.com>
* net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
`default-directory' is non-nil.
2012-01-28 Eli Zaretskii <eliz@gnu.org>
* mail/emacsbug.el (report-emacs-bug): Fill the potentially long
...
...
lisp/net/ange-ftp.el
View file @
4372494f
...
...
@@ -3098,7 +3098,8 @@ logged in as user USER and cd'd to directory DIR."
(
if
(
not
(
eq
system-type
'windows-nt
))
(
setq
name
(
ange-ftp-real-expand-file-name
name
))
;; Windows UNC default dirs do not make sense for ftp.
(
setq
name
(
if
(
string-match
"\\`//"
default-directory
)
(
setq
name
(
if
(
and
default-directory
(
string-match
"\\`//"
default-directory
))
(
ange-ftp-real-expand-file-name
name
"c:/"
)
(
ange-ftp-real-expand-file-name
name
)))
;; Strip off possible drive specifier.
...
...
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