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
8fab2362
Commit
8fab2362
authored
Jan 30, 2010
by
Chong Yidong
Browse files
* fileio.c (Frename_file): Correctly rename symlinks to directories (Bug#5496).
parent
5e4fe3f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/fileio.c
src/fileio.c
+6
-1
No files found.
src/ChangeLog
View file @
8fab2362
2010-01-31 David De La Harpe Golden <david@harpegolden.net>
* fileio.c (Frename_file): Correctly rename symlinks to
directories (Bug#5496).
2010-01-31 Filipe Cabecinhas <filcab@gmail.com> (tiny change)
* nsterm.m (ns_ring_bell): Handle visible bell like X.
...
...
src/fileio.c
View file @
8fab2362
...
...
@@ -2300,7 +2300,12 @@ This is what happens in interactive use with M-x. */)
count
=
SPECPDL_INDEX
();
specbind
(
Qdelete_by_moving_to_trash
,
Qnil
);
if
(
!
NILP
(
Ffile_directory_p
(
file
)))
if
(
!
NILP
(
Ffile_directory_p
(
file
))
#ifdef S_IFLNK
&&
NILP
(
symlink_target
)
#endif
)
call2
(
Qdelete_directory
,
file
,
Qt
);
else
Fdelete_file
(
file
);
...
...
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