emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/fileio.c


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/src/fileio.c
Date: Fri, 31 Jan 2003 10:23:32 -0500

Index: emacs/src/fileio.c
diff -c emacs/src/fileio.c:1.472 emacs/src/fileio.c:1.473
*** emacs/src/fileio.c:1.472    Sat Jan 25 14:48:59 2003
--- emacs/src/fileio.c  Fri Jan 31 10:23:32 2003
***************
*** 2052,2064 ****
    for (p = nm; p != endp; p++)
      {
        if ((p[0] == '~'
! #if defined (APOLLO) || defined (WINDOWSNT)
!          /* // at start of file name is meaningful in Apollo and
!             WindowsNT systems.  */
           || (IS_DIRECTORY_SEP (p[0]) && p - 1 != nm)
! #else /* not (APOLLO || WINDOWSNT) */
           || IS_DIRECTORY_SEP (p[0])
! #endif /* not (APOLLO || WINDOWSNT) */
           )
          && p != nm
          && (0
--- 2052,2064 ----
    for (p = nm; p != endp; p++)
      {
        if ((p[0] == '~'
! #if defined (APOLLO) || defined (WINDOWSNT) || defined(CYGWIN)
!          /* // at start of file name is meaningful in Apollo,
!             WindowsNT and Cygwin systems.  */
           || (IS_DIRECTORY_SEP (p[0]) && p - 1 != nm)
! #else /* not (APOLLO || WINDOWSNT || CYGWIN) */
           || IS_DIRECTORY_SEP (p[0])
! #endif /* not (APOLLO || WINDOWSNT || CYGWIN) */
           )
          && p != nm
          && (0
***************
*** 2230,2240 ****
  
    for (p = xnm; p != x; p++)
      if ((p[0] == '~'
! #if defined (APOLLO) || defined (WINDOWSNT)
         || (IS_DIRECTORY_SEP (p[0]) && p - 1 != xnm)
! #else /* not (APOLLO || WINDOWSNT) */
         || IS_DIRECTORY_SEP (p[0])
! #endif /* not (APOLLO || WINDOWSNT) */
         )
        && p != xnm && IS_DIRECTORY_SEP (p[-1]))
        xnm = p;
--- 2230,2240 ----
  
    for (p = xnm; p != x; p++)
      if ((p[0] == '~'
! #if defined (APOLLO) || defined (WINDOWSNT) || defined(CYGWIN)
         || (IS_DIRECTORY_SEP (p[0]) && p - 1 != xnm)
! #else /* not (APOLLO || WINDOWSNT || CYGWIN) */
         || IS_DIRECTORY_SEP (p[0])
! #endif /* not (APOLLO || WINDOWSNT || CYGWIN) */
         )
        && p != xnm && IS_DIRECTORY_SEP (p[-1]))
        xnm = p;
***************
*** 6116,6122 ****
            (NILP (predicate) ? Qfile_exists_p : predicate));
  
    GCPRO2 (insdef, default_filename);
!   
  #if defined (USE_MOTIF) || defined (HAVE_NTGUI) || defined (USE_GTK)
    if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event))
        && use_dialog_box
--- 6116,6122 ----
            (NILP (predicate) ? Qfile_exists_p : predicate));
  
    GCPRO2 (insdef, default_filename);
! 
  #if defined (USE_MOTIF) || defined (HAVE_NTGUI) || defined (USE_GTK)
    if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event))
        && use_dialog_box




reply via email to

[Prev in Thread] Current Thread [Next in Thread]