Mercurial > emacs
changeset 55862:f1e403523e6d
(dired-get-filename): Don't use dired-re-dot.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Sun, 30 May 2004 18:23:19 +0000 |
parents | 166eb601d9cf |
children | ac44232c68e1 |
files | lisp/dired.el |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/dired.el Sun May 30 14:21:53 2004 +0000 +++ b/lisp/dired.el Sun May 30 18:23:19 2004 +0000 @@ -1634,9 +1634,7 @@ ((eq localp 'verbatim) file) ((and (not no-error-if-not-filep) - (save-excursion - (beginning-of-line) - (looking-at dired-re-dot))) + (member file '("." ".."))) (error "Cannot operate on `.' or `..'")) ((and (eq localp 'no-dir) already-absolute) (file-name-nondirectory file))