Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e5c70c41
Commit
e5c70c41
authored
Jan 29, 2010
by
Michael Albinus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* net/tramp.el (tramp-handle-insert-directory): Handle also
symlinks, when FILENAME is not in `default-directory'.
parent
af93af83
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
lisp/ChangeLog
lisp/ChangeLog
+6
-1
lisp/net/tramp.el
lisp/net/tramp.el
+2
-0
No files found.
lisp/ChangeLog
View file @
e5c70c41
2010-01-29 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-handle-insert-directory): Handle also
symlinks, when FILENAME is not in `default-directory'.
2010-01-28 Michael Albinus <michael.albinus@gmx.de>
* net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
FILE
NAME
is not in `default-directory'. (Bug#5478)
FILE is not in `default-directory'. (Bug#5478)
* net/tramp.el (tramp-handle-insert-directory): Simplify handling
of SWITCHES. Handle the case, FILENAME is not in
...
...
lisp/net/tramp.el
View file @
e5c70c41
...
...
@@ -4147,6 +4147,8 @@ This is like `dired-recursive-delete-directory' for Tramp files."
;; The inserted file could be from somewhere else.
(
when
(
and
(
not
wildcard
)
(
not
full-directory-p
))
(
goto-char
(
point-max
))
(
when
(
file-symlink-p
filename
)
(
goto-char
(
search-backward
"->"
beg
'noerror
)))
(
search-backward
(
if
(
zerop
(
length
(
file-name-nondirectory
filename
)))
"."
...
...
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