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: Sun, 30 May 2004 14:24:11 -0400

Index: emacs/lisp/dired.el
diff -c emacs/lisp/dired.el:1.285 emacs/lisp/dired.el:1.286
*** emacs/lisp/dired.el:1.285   Mon Apr 26 18:56:23 2004
--- emacs/lisp/dired.el Sun May 30 18:23:19 2004
***************
*** 1634,1642 ****
       ((eq localp 'verbatim)
        file)
       ((and (not no-error-if-not-filep)
!          (save-excursion
!            (beginning-of-line)
!            (looking-at dired-re-dot)))
        (error "Cannot operate on `.' or `..'"))
       ((and (eq localp 'no-dir) already-absolute)
        (file-name-nondirectory file))
--- 1634,1640 ----
       ((eq localp 'verbatim)
        file)
       ((and (not no-error-if-not-filep)
!          (member 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]