Commit 5709c1a0 authored by Andreas Schwab's avatar Andreas Schwab

(dired-get-filename): Don't use dired-re-dot.

parent 7a61e456
2004-05-30 Andreas Schwab <schwab@suse.de>
* dired.el (dired-get-filename): Don't use dired-re-dot.
2004-05-30 Richard M. Stallman <rms@gnu.org>
* files.el (find-file): Doc fix.
......
......@@ -1634,9 +1634,7 @@ Otherwise, an error occurs in these cases."
((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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment