[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/fileio.c
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/fileio.c |
Date: |
Wed, 28 May 2003 07:35:50 -0400 |
Index: emacs/src/fileio.c
diff -c emacs/src/fileio.c:1.485 emacs/src/fileio.c:1.486
*** emacs/src/fileio.c:1.485 Wed May 7 18:13:04 2003
--- emacs/src/fileio.c Fri May 16 14:50:15 2003
***************
*** 2623,2629 ****
struct gcpro gcpro1;
GCPRO1 (filename);
! if (!NILP (Ffile_directory_p (filename)))
Fsignal (Qfile_error,
Fcons (build_string ("Removing old name: is a directory"),
Fcons (filename, Qnil)));
--- 2623,2630 ----
struct gcpro gcpro1;
GCPRO1 (filename);
! if (!NILP (Ffile_directory_p (filename))
! && NILP (Ffile_symlink_p (filename)))
Fsignal (Qfile_error,
Fcons (build_string ("Removing old name: is a directory"),
Fcons (filename, Qnil)));