emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/dired.el


From: Andreas Schwab
Subject: [Emacs-diffs] Changes to emacs/lisp/dired.el
Date: Mon, 09 Jun 2003 13:05:42 -0400

Index: emacs/lisp/dired.el
diff -c emacs/lisp/dired.el:1.261 emacs/lisp/dired.el:1.262
*** emacs/lisp/dired.el:1.261   Thu Jun  5 18:00:13 2003
--- emacs/lisp/dired.el Mon Jun  9 13:05:42 2003
***************
*** 1490,1498 ****
       ((eq localp 'verbatim)
        file)
       ((and (not no-error-if-not-filep)
!          (save-excursion
!            (beginning-of-line)
!            (looking-at dired-re-dir)))
        (error "Cannot operate on `.' or `..'"))
       ((and (eq localp 'no-dir) already-absolute)
        (file-name-nondirectory file))
--- 1490,1496 ----
       ((eq localp 'verbatim)
        file)
       ((and (not no-error-if-not-filep)
!          (member (file-name-nondirectory file) '("." "..")))
        (error "Cannot operate on `.' or `..'"))
       ((and (eq localp 'no-dir) already-absolute)
        (file-name-nondirectory file))




reply via email to

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