Commit 1f3b4d04 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(dired-move-to-filename): Don't output a message if

raise-error is non-nil.  Fix return position and value.
parent 52e281e8
2004-09-25 Stefan <monnier@iro.umontreal.ca>
* dired.el (dired-move-to-filename): Don't output a message if
raise-error is non-nil. Fix return position and value.
* files.el (insert-directory): Obey --dired even with symlinks.
2004-09-25 Lars Hansen <larsh@math.ku.dk>
......
......@@ -1774,8 +1774,10 @@ regardless of the language.")
(goto-char (match-end 0)))
((re-search-forward dired-permission-flags-regexp eol t)
;; Ha! There *is* a file. Our regexp-from-hell just failed to find it.
(funcall (if raise-error 'error 'message)
"Unrecognized line! Check dired-move-to-filename-regexp"))
(if raise-error
(error "Unrecognized line! Check dired-move-to-filename-regexp"))
(beginning-of-line)
nil)
(raise-error
(error "No file on this line")))))
......
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